Sign In

$rgbToHex[]

Converts RGB into HEX

v1.2.1+ Requires Brackets

Usage

$rgbToHex[;]

Arguments

NameTypeRequiredDescription
allowShort
BooleanNoWhether to allow short hex output (default: false)
...rgba
NumberYesThe RGB to convert into HEX

Was this page helpful?