• Transform a HEX color to its RGB representation

    Parameters

    • hex: string

      The color to transform

    Returns string

    The RGB representation of the passed color