Skip to content

Instantly share code, notes, and snippets.

View ellor1138's full-sized avatar

Simon ellor1138

  • Maison
  • Montreal, Qc
View GitHub Profile
@ellor1138
ellor1138 / css-named-colors-in-webkit.js
Created September 2, 2011 12:51 — forked from peol/css-named-colors-in-webkit.js
All named CSS colors in webkit as a JS Object
// Source: http://www.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/platform/ColorData.gperf&exact_package=chromium&type=cs
// There's also an RGB one defined here: http://www.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/inspector/front-end/Color.js&exact_package=chromium&q=indianred&l=393
var CSS_NAMED_COLORS = {
aliceblue: "#f0f8ff",
antiquewhite: "#faebd7",
aqua: "#00ffff",
aquamarine: "#7fffd4",
azure: "#f0ffff",
beige: "#f5f5dc",