toHex

Returns a string in "FF0000" form (without a leading #).

Returns

String The color in hex notation.

In this article
Not finding the help you need? Improve this article