toCss

Like toHex, but includes a leading #.

Returns

String The color in CSS notation.

In this article
Not finding the help you need?