Represents a fully customizable color within Minecraft.

Hierarchy

Properties

Properties

alpha: number

Remarks

Determines a color's alpha (opacity) component. Valid values are between 0 (transparent) and 1.0 (opaque).

blue: number

Remarks

Determines a color's blue component. Valid values are between 0 and 1.0.

green: number

Remarks

Determines a color's green component. Valid values are between 0 and 1.0.

red: number

Remarks

Determines a color's red component. Valid values are between 0 and 1.0.