Method ToHex
ToHex(Color)
Converts a color value to its 32-bit hexadecimal representation.
Declaration
public static uint ToHex(Color c)
Parameters
Type | Name | Description |
---|---|---|
Color | c | The color to convert. |
Returns
Type | Description |
---|---|
uint | A 32-bit hexadecimal representation of the color. |