Sign In

$rgbaToHex[]

Converts RGBA into HEX

v1.2.1+ Requires Brackets

Usage

$rgbaToHex[;;]

Arguments

NameTypeRequiredDescription
alwaysIncludeAlpha
BooleanNoWhether to always include the alpha channel in the output (default: false)
allowShort
BooleanNoWhether to allow short hex output (default: false)
...rgba
NumberYesThe RGBA to convert into HEX

Was this page helpful?