Method ToRGBHex
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
ToRGBHex(Color)
Converts a color to a six-character string of the RGB values of the color in hexadecimal.
[Version(4, 3, 0)]
public static string ToRGBHex(Color color)
Parameters
color
ColorThe color to convert.
Returns
- string
The color as a hexadecimal string.