MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / hsl_to_string

Function hsl_to_string

packages/frontend/src/ui/color.ts:15–17  ·  view source on GitHub ↗
(c: HSL)

Source from the content-addressed store, hash-verified

13}
14
15export function hsl_to_string(c: HSL): string {
16 return `hsl(${c[0]} ${c[1]}% ${c[2]}%)`
17}
18
19export function hsl_to_hsla_string(c: HSL, alpha: number): string {
20 return `hsl(${c[0]} ${c[1]}% ${c[2]}% / ${alpha})`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…