Skip to content

Instantly share code, notes, and snippets.

View wooki's full-sized avatar

James Rowe wooki

View GitHub Profile
@bobspace
bobspace / css_colors.js
Last active October 12, 2024 17:02
All of the CSS Color names in a big javascript object.
// CSS Color Names
// Compiled by @bobspace.
//
// A javascript object containing all of the color names listed in the CSS Spec.
// This used to be a big array, but the hex values are useful too, so now it's an object.
// If you need the names as an array use Object.keys, but you already knew that!
//
// The full list can be found here: https://www.w3schools.com/cssref/css_colors.asp
// Use it as you please, 'cuz you can't, like, own a color, man.