• Convert a shorthand Hex string (#1F4) to an RGB color array [r, g, b], where each component is in the range [0, 255].

    Parameters

    • hexString: string

    Returns [number, number, number]