• Flatten a color to a number, where each byte represents the RGB components.

    Parameters

    • color: Color

      Color to convert

    Returns number

    The hex triplet.