MCPcopy Create free account
hub / github.com/alignoth/alignoth / formatHsl

Function formatHsl

resources/vega.min.js:9321–9324  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9319 );
9320 },
9321 formatHsl() {
9322 const t = lf(this.opacity);
9323 return `${1 === t ? "hsl(" : "hsla("}${mf(this.h)}, ${100 * yf(this.s)}%, ${100 * yf(this.l)}%${1 === t ? ")" : `, ${t})`}`;
9324 },
9325 }),
9326 ));
9327 const _f = Math.PI / 180,

Callers

nothing calls this directly

Calls 3

lfFunction · 0.70
mfFunction · 0.70
yfFunction · 0.70

Tested by

no test coverage detected