The CSS named color system is notoriously bad: keywords are often difficult to remember (navajowhite), illogical (darkgrey actually displays lighter than dimgray) and/or visually questionable (lime and fuchsia verge on the bilious).
Until CSS custom named hues and variables are widely supported, preprocessors remain the best way to create your own custom color names. Defining site colors in Sass creates a cohesive color library that can be used to style content quickly and easily, with named colors that are significantly easier to remember and type than their hex equivalents. However, it can be burdensome to build a decent color library with a logical naming system.
blue#0074d9
navy#001f3f
aqua#7fdbff
sky#00b2ff
teal#39cccc
slate#757b87
indigo#281e5d
cobalt#1438bd
ocean#026063
peacock#002d37
azure#1621a6
cerulean#0592c2
lapis#2632c2
spruce#2c3e4b
stone#59788d
aegean#1e456e
berry#24146f
denim#141e3c
admiral#060f94
sapphire#52b2c0
arctic#82edfe
Inspired by Ingrid Sundberg’s color thesaurus, as well as the work of Adam Morse and Joe Hanson, I’ve created a Sass visual color library for site prototyping, design and development. These new defaults – 204 keywords in all – use evocative and logical names, making for easy implementation. As much as possible, the keywords reference familiar hues from the natural world. In some cases, they replace the classic CSS keyword names with more visually appealing colors.
tan#e5dbac
beige#ecdc99
macaroon#f7df75
hazelwood#c9bc8e
granola#d6b75a
oat#dec98a
eggnog#fbe29d
fawn#c7a951
sand#d7b963
sepia#e3b678
latte#e9c17b
oyster#dcd69f
biscotti#e3c565
parmesean#fee993
hazelnut#bda55d
sandcastle#dbc27d
buttermilk#fdefb2
sanddollar#ebe7b9
shortbread#fce791
Using the color keyword library in Sass is easy. From the Github repo, include _color-map.scss and _color-generator.scss in your project:
Of course, outside the scientific realm, color is entirely subjective: you’re very welcome to create your own variations in the color map, or change them to suit your tastes, while the traditional color keywords remain entirely available to you. I look forward to any use and feedback!