* Converts a color to HSL color space and returns an object. * Always includes an alpha value from 0 to 1.
()
| 86 | * Always includes an alpha value from 0 to 1. |
| 87 | */ |
| 88 | public toHsl(): HslaColor { |
| 89 | return roundHsla(rgbaToHsla(this.rgba)); |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Converts a color to HSL color space and returns a string representation. |
no test coverage detected