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

Function hsl_zero

packages/frontend/src/ui/color.ts:3–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1export type HSL = [hue: number, saturation: number, lightness: number]
2
3export function hsl_zero(): HSL {
4 return new Int16Array(3) as any as HSL
5}
6
7export function hsl(hue: number, saturation: number, lightness: number): HSL {
8 let c = hsl_zero()

Callers 2

hslFunction · 0.85
mixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…