@microsoft/fast-colors > getHexStringForByte
getHexStringForByte() function
Converts a number between 0 and 255 to a hex string.
Signature:export declare function getHexStringForByte(i: number): string;
Parameters
| Parameter | Type | Description |
|---|---|---|
| i | number | the number to convert to a hex string |
string