English Color Name to Hex Converter
Convert English color names (e.g., "Sage", 'Midnight Blue') to Hex, RGB, and HSL. Features fuzzy search, contrast analysis, and a massive color dictionary.
About
In digital design, ambiguity is a liability. While a human understands the nuance between Sky Blue and Royal Blue, browsers and compilers require strict hexadecimal definitions. This tool bridges the semantic gap, translating natural English language color names into precise Hex, RGB, and HSL coordinates.
Unlike basic converters that only support the standard 140 CSS keywords, this engine utilizes an extended dictionary including Crayola, Pantone-equivalents, and descriptive common names. It employs a Levenshtein Distance algorithm to perform fuzzy matching, correcting typos and suggesting nearest neighbors in the semantic color space.
Formulas
Converting a Hexadecimal color code to RGB involves parsing base-16 integers into base-10. The Hex code represents three 8-bit bytes.
Reference Data
| Color Name | Hex (#) | RGB (r,g,b) | Luminance (L) |
|---|---|---|---|
| Absolute Zero | #0048BA | 0, 72, 186 | 0.17 |
| Acid Green | #B0BF1A | 176, 191, 26 | 0.68 |
| Alabaster | #F2F0E6 | 242, 240, 230 | 0.93 |
| Crimson | #DC143C | 220, 20, 60 | 0.26 |
| Ferrari Red | #FF2800 | 255, 40, 0 | 0.31 |
| Kelly Green | #4CBB17 | 76, 187, 23 | 0.54 |
| Midnight Blue | #191970 | 25, 25, 112 | 0.08 |
| Zaffre | #0014A8 | 0, 20, 168 | 0.12 |