MCPcopy
hub / github.com/microsoft/SandDance / hsl

Function hsl

docs/app/js/sanddance-app.js:2471–2473  ·  view source on GitHub ↗
(h, s, l, opacity)

Source from the content-addressed store, hash-verified

2469 return new Hsl(h, s, l, o.opacity);
2470}
2471function hsl(h, s, l, opacity) {
2472 return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
2473}
2474function Hsl(h, s, l, opacity) {
2475 this.h = +h;
2476 this.s = +s;

Callers 1

sanddance-app.jsFile · 0.70

Calls 4

hslConvertFunction · 0.70
hueFunction · 0.70
hFunction · 0.70
opacityFunction · 0.70

Tested by

no test coverage detected