Home > rc-js-util > RgbaColorPacker > getHexColorString
Given a packed color, produce a dom color string like #FF0000
.
Signature:
static getHexColorString(value: number): string;
Parameter | Type | Description |
---|---|---|
value | number |
Returns:
string
Made up of only 6 components, the alpha channel will be masked out.