MCPcopy Create free account
hub / github.com/adobe/react-spectrum /

Class

packages/react-stately/src/color/Color.ts:648–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646 /hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/;
647
648class HSLColor extends Color {
649 constructor(
650 private hue: number,
651 private saturation: number,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected