title: 'Image' does not contain a definition for 'color' on Unity
body: <p>Can't use Color on Image component.</p>
  
  <p>Looked for solution but no luck. How can i use color on Image?</p>
  
  <p>Here is the sample code that should work</p>
  
  <pre class="lang-cs prettyprint-override"><code>public void Locked(GameObject go)
  {
      Image ima = go.GetComponent&lt;Image&gt;();
      // Below line throws 'Image' does not contain a definition for 'color'
      ima.color = new Color(200,200,200); 
  }
  </code></pre>