Skip to main content

Enumeration: RgbByte

Defined in: types/color.ts:88

An enumeration of the color channels in an RGB color, useful for accessing RGB components in a Decimal representation.

The values correspond to the indices of the red, green, blue, and alpha components in a packed integer format.

Enumeration Members

Alpha

Alpha: 3

Defined in: types/color.ts:104

An enum value representing the alpha channel in an RGB color.


Blue

Blue: 2

Defined in: types/color.ts:100

An enum value representing the blue channel in an RGB color.


Green

Green: 1

Defined in: types/color.ts:96

An enum value representing the green channel in an RGB color.


Red

Red: 0

Defined in: types/color.ts:92

An enum value representing the red channel in an RGB color.