| 480 | } |
| 481 | |
| 482 | function 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 | |