- Which color names?
- The 147 CSS named colors — from 'aliceblue' to 'yellowgreen'. Standardized in CSS3 and supported everywhere.
- How does it find 'closest'?
- Euclidean distance in RGB space. Simple and fast. For perceptual closeness (what humans see as 'close'), LAB-space distance would be more accurate.
- Why do I care about named colors?
- Legacy systems, quick prototypes, and typing-friendly. `color: tomato` reads better than `color: #FF6347` in experimental code.
- Are there more than 147 names?
- Not standardized. Various browser-specific names ('rebeccapurple' is the only post-2014 addition). The X11 color names are a superset but not universally supported.