Color.Color

void Color(float red, float green, float blue, float opacity)

Try Color.HSV instead! But if you really need to create a color from RGB values, I suppose you’re in the right place. All parameter values are generally in the range of 0-1.

   
float red Red component, 0-1.
float green Green component, 0-1.
float blue Blue component, 0-1.
float opacity Opacity, or the alpha component, 0-1 where 0 is completely transparent, and 1 is completely opaque.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!