Color
    Preparing search index...

    Function hexToRgb

    • Split a hexadecimal value into sRGB values.

      Parameters

      • hex: number

        The hexidecimal representation of the number (i.e. 0x50c878).

      Returns [number, number, number] & Rgb

      An sRGB color.