title: How To Capture the color from screen in mouse position using Unity and C#?
body: <p>I did not find a direct function in Color section or since there is no direct C# Unity function for picking the color from post render. How is the best approach for picking the color in the mouse position?<br>
  I have done research and looks like there is posible to make a screenshot and then look into the texture calculating the mouse position. </p>
  
  <pre><code>Input.GetMouseButtonDown(0)
  
  Application.CaptureScreenshot("Screenshot.png");
  
  // get the color pixel in the same coordinates of the mouse position
  Vector3 mouseCoordinates = Input.mousePosition;
  myFinalColor = tex.GetPixel((int)mouseCoordinates.x, (int)mouseCoordinates.y);
  </code></pre>
  
  <p>Or do I have to make a second camera and attach it to a mesh render?</p>