Skip to content

function hexToRgb (shared-side)

Available since version: 0.0.1

This function will convert hex color to rgb representation.

Declaration

Color hexToRgb(string hex)

Parameters

  • string hex: hexadecimal color representation.

Returns Color

The converted rgb color.