-
-
Notifications
You must be signed in to change notification settings - Fork 18
color_to_hex
Vašek edited this page Feb 10, 2019
·
2 revisions
Returns color in hex format
color_to_hex(col)
Argument | Description |
---|---|
Color col |
The given color |
Returns: string
This function returns col
in hex format. For example Color.Blue with 255 alpha is "#0000ffff" in hex format.
string col = color_to_hex(Color.Red);
This function will set col
to "#ff0000ff".
Back to Color And Alpha