Usage
$colorToHex[]Arguments
| Name | Type | Required | Description |
|---|---|---|---|
color | String | Yes | The color string to convert. |
Output
StringConverts a color code from any supported format (hex, rgb, hsl, etc.) to a hex format.
$colorToHex[]| Name | Type | Required | Description |
|---|---|---|---|
color | String | Yes | The color string to convert. |
StringWas this page helpful?