Hex.ToHex
Extension Method in Hex
Declaration
public static int ToHex(this Color color)Description
Converts the color to a hexadecimal integer in the RGB format (RRGGBB), e.g., 0xffff00.
Parameters
| color | The color to convert. |
Returns
| int | The hexadecimal integer. |