@lakuna/color
    Preparing search index...

    Function rgbToHex

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

      Parameters

      • rgb: Rgb

        The sRGB representation of the number.

      Returns number

      The numerical hexadecimal representation of the color.