Usage
$indexedToHex[;;;;]Arguments
| Name | Type | Required | Description |
|---|---|---|---|
palette | Json | Yes | The palette to use for the conversion |
transparent | Number | No | The index of the transparent color in the palette |
alwaysAlpha | Boolean | No | Determines whether to always include the alpha channel in the output (default: false) |
allowShort | Boolean | No | Whether to allow short hex output (default: false) |
...pixels | Number | Yes | The pixels to convert into HEX |