Convert RGB to hex color. (e.g. rgbToHex([255, 0, 0, 255, 128, 0]) -> ["#FF0000", "#FF8000"])
rgbToHex([255, 0, 0, 255, 128, 0])
["#FF0000", "#FF8000"]
An array of RGB values.
Optional
Whether to allow short hex output.
An array of hex color strings. (e.g. "#FF0000")
"#FF0000"
Convert RGB to hex color. (e.g.
rgbToHex([255, 0, 0, 255, 128, 0])
->["#FF0000", "#FF8000"]
)