Skip to content

Colour Constructors ​

A colour with eight-bit red, green, blue and alpha components.

c#
public Colour(Byte Red, Byte Green, Byte Blue, Byte Alpha = 255);

Parameters ​

NameTypeDescription
RedByteThe red component.
GreenByteThe green component.
BlueByteThe blue component.
AlphaByteThe alpha component; 255 is opaque and zero is transparent.