Sign In

$convertColor[]

Converts a color code from any supported format (hex, rgb, hsl, etc.) to a target format.

v1.0.0+ Requires Brackets

Usage

$convertColor[;]
Also callable as
$colorConvert $transformColor

Arguments

NameTypeRequiredDescription
color
StringYesThe color string to convert.
to
YesThe format to convert the color to.

Output

String

Was this page helpful?