toCss

Like toHex, but includes a leading #.

Returns

String The color in CSS notation.

In this article