Skip to content

Colour Struct ​

Definition ​

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

c#
public sealed struct Colour : IEquatable<Colour>

View source

Constructors ​

NameDescription
Colour(Byte, Byte, Byte, Byte)A colour with eight-bit red, green, blue and alpha components.

Properties ​

NameDescription
AlphaThe alpha component; 255 is opaque and zero is transparent.
BlueThe blue component.
GreenThe green component.
RedThe red component.