Skip to content

function hexToRgb (shared-side)

Available since version: 0.0.1

This function will convert hex color to rgb representation.

Declaration

{r, g, b} hexToRgb(string hex)

Parameters

  • string hex: hexadecimal color representation.

Returns {r, g, b}

The converted rgb color.