HEX
export default class HEX
Constructors
Section titled “Constructors”constructor(hex: string)
Section titled “constructor(hex: string)”Constructs a new instance of the HEX class.
Methods
Section titled “Methods”toRGB() : RGBA
Section titled “toRGB() : RGBA”Returns the HEX color in RGBA format.
toString() : string
Section titled “toString() : string”Returns the HEX number for the color.