MCPcopy Create free account
hub / github.com/pbakaus/impeccable / hueWord

Function hueWord

skill/scripts/palette.mjs:482–496  ·  view source on GitHub ↗
(H)

Source from the content-addressed store, hash-verified

480}
481
482function hueWord(H) {
483 if (H < 15 || H >= 345) return 'pure red';
484 if (H < 35) return 'warm red / crimson';
485 if (H < 55) return 'warm coral / burnt orange';
486 if (H < 80) return 'orange / honey';
487 if (H < 105) return 'warm amber / honey-gold';
488 if (H < 135) return 'yellow-green / olive';
489 if (H < 170) return 'green';
490 if (H < 200) return 'teal';
491 if (H < 230) return 'sky blue';
492 if (H < 265) return 'cobalt / indigo';
493 if (H < 295) return 'violet / purple';
494 if (H < 330) return 'magenta / pink';
495 return 'deep pink / rose';
496}
497
498// ---------------------------------------------------------------
499

Callers 1

palette.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected