A color represented as its component parts.

interface Color {
    b: number;
    g: number;
    r: number;
}

Properties

b g r

Properties

b: number

The blue component (0 - 255)

g: number

The green component (0 - 255)

r: number

The red component (0 - 255)