formatHsl method
Returns a string representing this color according to the CSS Color Module
Level 3 specification, such as hsl(257, 50%, 80%)
or
hsla(257, 50%, 80%, 0.2)
.
If this color is not displayable, a suitable displayable color is returned instead by clamping S and L channel values to the interval [0, 100].
Implementation
String formatHsl() => Hsl.from(this).formatHsl();