An array of RGBA values.
Optional
alwaysIncludeAlpha: null | booleanWhether to always include the alpha channel in the output.
Optional
allowShort: null | booleanWhether to allow short hex output.
An array of hex color strings. (e.g. "#FF0000"
)
Convert RGBA to hex color. (e.g.
rgbaToHex([255, 0, 0, 255, 255, 128, 0, 128])
->["#FF0000", "#FF800080"]
)