Color
    Preparing search index...

    Function rgbToHex

    • Convert sRGB values into the numerical hexadecimal representation of the color.

      Parameters

      • rgb: Readonly<Rgb>

        The sRGB representation of the number.

      Returns number

      The numerical hexadecimal representation of the color.