how to change image color in unity code example
Example 1: how to change image color unity
using UnityEngine.UI;
public GameObject YourgameObjectWithImage;
YourgameObjectWithImage.GetComponent<Image>().color = new Color32(255, 255, 225, 225);
Example 2: unity change color of image script
image.GetComponent<Image>().color = new Color32(255,255,225,100);