PIXI.utils.hex2string
hex2string(hex: number) → {string}
Converts a hexadecimal color number to a string.
PIXI.utils.hex2string(0xffffff); // returns "#ffffff"
Name | Type | Description |
---|---|---|
hex | number |
Number in hex (e.g., |
Type | Description |
---|---|
string |
The string color (e.g., |