How to set an unique color to an image ?

Hello,

I would like to force one color on an UI Image component (the GO has no Texture2D component), as in this example.
Changing the “Color” variable of the Image will only change the color partially unless i set full black.

Thanks

Have you tried something like this?

image.GetComponent<Image>().color = Color.blue;

From: How to change the color of an image with script? - Questions & Answers - Unity Discussions