Color sliders and more fun with JavaScript

More fun with JavaScript! I made a color sliders page by connecting my revised color thesaurus to a new improved interactive hex to rgb converter. You can still see all the details of the colors, such as names, hue, saturation, brightness, red green blue values, hexadecimal code, and little stories about the colors, but the interface is all new and the code is cleaner. I removed jQuery from the JavaScript to speed up page performance, added custom sliders rather than an off-the-shelf color picker, and improved the data/definitions. I still need to test it on Internet Explorer. I may retire the original color picker once I do that.


hex and rgb color sliders

Color pickers and fun with JavaScript

I made a color picker with names by hooking up my color thesaurus to an interactive hex to rgb converter. Now you can see all the details of the colors, such as names, hue, saturation, brightness, red green blue values, hexadecimal code, little stories about the colors, and more. Let me know what else you’d like to see on this page. I’m a little obsessed with colors due to writing a novel with an artist as the main character. I also like keeping my website up to date. You can add any color to the URL and my code generates a page behind the scenes. It pulls the data from a JSON file filled with color names and hex codes.


hex and rgb color picker

Stygian blue, a poem

at first just a single color appeared to me
aubergine
like the faintest hint of dawn
then, a few minutes later
ultramarine
like the eyes of a newborn baby
quickly following that
coral
like so many tropical seas
before I knew it
all manner of colors arrived
in a flash of word association
bend of the knuckle
skin of the egg
russet, plum, and soursop
elderberry, date, and endive
sunburnt flesh
hyperbolic orange
stygian blue

abandoned car in Death Valley

Glue, a poem

I make art
one drawing after another
some with leaves in the trees
some with no leaves
some with brown grass
some with green
watercolors flow from brushes
onto tree-filled landscapes
collages arise from construction paper
red, yellow, green, and blue
pasted together into intricately detailed shapes
I love the waxy feel of crayons pressed hard
scratched-off layers of wax
paper bent from watercolor
swirls of colors that haven’t fully dried
I love the stiff feeling of clay that hasn’t been pulled yet
the softer, warmer feel of it after it is kneaded
the feel of paper stuck to paper
the smell of glue

intricate collage

The sequence above was taken from my novel-in-progress Glue and finessed a bit to turn it into a poem. The main character is (like me) an artist and (unlike me) likes making collages. I made the collage above when I was a college student. It is a study of the scene outside my dorm window.

Colors, a poem

I dreamt of color
cerulean blue
cadmium orange
antimony yellow
pyrrole red
sage, russet, and plum
persimmon, vermilion, and rose
gamboge, the color of resin
falu, the color of Swedish cottages
I saw breathing walls
breathing hands
dancing cobblestones
moving words
swirls of smoke
shirts that rearranged their fibers
tints that mixed and floated away
chimerical, hyperbolic, imaginary
a halo of a fade of a wash


Image source: Plants and Their Application to Ornament (1896)

Color names for writers

I have made a collection of named colors gleaned from HTML color names, Pantone swatches, stones, jewels, flowers, foods, minerals, pigments, and paints. Some of them I made up out of whole cloth. Each color is presented as its hexadecimal code. Use some in your fiction! Sample color names:

  • Gamboge
  • Despair
  • Malachite
  • Flesh of the peach
  • Skin of the peach
  • Wine
  • Mahogany

You can use the complete interactive version here.

Download the whole shebang as a PNG file. Please share it! Below is a cropped bit from the reds section.

excerpt of color names for writers

Werner’s Nomenclature of Colours (1814)

I found this fascinating text on The Public Domain Review, which is a treasure trove of copyright-free works, both images and texts. Extending Werner’s system, this is Patric Syme’s classic taxonomic guide to the colors of the natural world.

Patrick Syme, Werner’s nomenclature of colours; Edinburgh: William Blackwood, 1821.

WHITES.

1. Snow White, is the characteristic colour of the whites ; it is the purest white colour ; being free of all intermixture, it resembles new-fallen snow.

2. Reddish White, is composed of snow white, with a very minute portion of crimson red and ash grey.

3. Purplish White, is snow white, with the slightest tinge of crimson red and Berlin blue, and a very minute portion of ash grey.

4. Yellowish White, is composed of snow white, with a very little lemon yellow and ash grey.

5. Orange-coloured White, is snow white, with a -very* small portion of tile red and king’s yellow, and a minute portion of ash grey.

6. Greenish White, is snow white, mixed with a very little emerald green and
ash grey.

7. Skimmed-milk White, is snow white, mixed with a little Berlin blue and
ash grey.

8. Greyish White, is snow white, mixed with a little ash grey.

colors