Skip to main content

DrawRGBToHex

Callable

  • DrawRGBToHex(color: readonly [number, number, number]): `#${string}`

  • Converts a RGB color to a hex color string


    Parameters

    • color: readonly [number, number, number]

      RGB color to conver

    Returns `#${string}`

    • Hex color string