Constructors
constructor
- new Color(red: number, green: number, blue: number): Color
- new Color(hex: string): Color
Parameters
red: number
green: number
blue: number
Parameters
Properties
Readonly blue
blue: number
Readonly green
green: number
Static Readonly darkGreen
Static Readonly lightBlue
Static Readonly lightGray
Static Readonly lightGreen
Static Readonly lightPink
Static Readonly skyBlueLight
Static Readonly veryDarkGreen
Static Readonly veryDarkRed
Static Readonly veryLightGray
Methods
equals
- equals(other: Color): boolean
Parameters
Returns boolean
Namespace for creating colors via RGB and HEX properties.
Note: RGB and HEX values can be retrieved from various color picking tools.