Color

A color

Members

Static functions

rgb
Color rgb(int r, int g, int b)

Creates a color from RGB.

rgba
Color rgba(int r, int g, int b, int a)

Creates a color from RGBA.

Variables

a
ubyte a;

The alpha channel.

b
ubyte b;

The blue channel.

g
ubyte g;

The green channel.

r
ubyte r;

The red channel.

Meta