Color(float red, float green, float blue, float opacity)
|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.|
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.