跳到主要内容

Interface: RGB

Represents a fully customizable color within Minecraft.

Extended by

Properties

blue

blue: number

Remarks

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


green

green: number

Remarks

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


red

red: number

Remarks

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