klyn.gui.windows.Color.toHex
method
public toHex() as String:
Description

Serializes the RGB channels as an uppercase hexadecimal color.

The alpha channel is intentionally omitted so the result always follows the familiar #RRGGBB form used by color fields and style sheets.

assert Color(255, 0, 255).toHex() == "#FF00FF"