(c: HSL)
| 13 | } |
| 14 | |
| 15 | export function hsl_to_string(c: HSL): string { |
| 16 | return `hsl(${c[0]} ${c[1]}% ${c[2]}%)` |
| 17 | } |
| 18 | |
| 19 | export function hsl_to_hsla_string(c: HSL, alpha: number): string { |
| 20 | return `hsl(${c[0]} ${c[1]}% ${c[2]}% / ${alpha})` |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…