@0b5vr/experimental
    Preparing search index...

    Function colorFromHex

    • Converts the input hex color to RawRGB.

      Supported formats:

      • #RRGGBB
      • #RGB
      • 0xRRGGBB

      Parameters

      • hex: string | number

        Hex representation of the color

      Returns RawRGB

      Color in RawRGB