The Hex
property of the Color32
struct provides a string representation of the color in the hexadecimal format. This format is commonly used in web development and graphics programming to specify colors. The string is formatted as "#RRGGBB[AA]", where:
RR
represents the red component in hexadecimal (00 to FF).GG
represents the green component in hexadecimal (00 to FF).BB
represents the blue component in hexadecimal (00 to FF).AA
(optional) represents the alpha component in hexadecimal (00 to FF), indicating transparency.