toHex method

String toHex()

Returns a #RRGGBB hex string for this color.

Implementation

String toHex() => Hsluv.hsluvToHex([hue, saturation, lightness]);