Skip to content

Instantly share code, notes, and snippets.

@slikts
Forked from bobspace/css_colors.js
Created September 25, 2018 09:31
Show Gist options
  • Save slikts/cfa5bb0ad340b6e01dd711f20a419aec to your computer and use it in GitHub Desktop.
Save slikts/cfa5bb0ad340b6e01dd711f20a419aec to your computer and use it in GitHub Desktop.
All of the CSS Color names as an array in javascript.
// CSS Color Names
// Compiled by @bobspace.
//
// A javascript array containing all of the color names listed in the CSS Spec.
// The full list can be found here: http://www.w3schools.com/cssref/css_colornames.asp
// Use it as you please, 'cuz you can't, like, own a color, man.
export default [
`AliceBlue`,
`AntiqueWhite`,
`Aqua`,
`Aquamarine`,
`Azure`,
`Beige`,
`Bisque`,
`Black`,
`BlanchedAlmond`,
`Blue`,
`BlueViolet`,
`Brown`,
`BurlyWood`,
`CadetBlue`,
`Chartreuse`,
`Chocolate`,
`Coral`,
`CornflowerBlue`,
`Cornsilk`,
`Crimson`,
`Cyan`,
`DarkBlue`,
`DarkCyan`,
`DarkGoldenRod`,
`DarkGray`,
`DarkGrey`,
`DarkGreen`,
`DarkKhaki`,
`DarkMagenta`,
`DarkOliveGreen`,
`Darkorange`,
`DarkOrchid`,
`DarkRed`,
`DarkSalmon`,
`DarkSeaGreen`,
`DarkSlateBlue`,
`DarkSlateGray`,
`DarkSlateGrey`,
`DarkTurquoise`,
`DarkViolet`,
`DeepPink`,
`DeepSkyBlue`,
`DimGray`,
`DimGrey`,
`DodgerBlue`,
`FireBrick`,
`FloralWhite`,
`ForestGreen`,
`Fuchsia`,
`Gainsboro`,
`GhostWhite`,
`Gold`,
`GoldenRod`,
`Gray`,
`Grey`,
`Green`,
`GreenYellow`,
`HoneyDew`,
`HotPink`,
`IndianRed`,
`Indigo`,
`Ivory`,
`Khaki`,
`Lavender`,
`LavenderBlush`,
`LawnGreen`,
`LemonChiffon`,
`LightBlue`,
`LightCoral`,
`LightCyan`,
`LightGoldenRodYellow`,
`LightGray`,
`LightGrey`,
`LightGreen`,
`LightPink`,
`LightSalmon`,
`LightSeaGreen`,
`LightSkyBlue`,
`LightSlateGray`,
`LightSlateGrey`,
`LightSteelBlue`,
`LightYellow`,
`Lime`,
`LimeGreen`,
`Linen`,
`Magenta`,
`Maroon`,
`MediumAquaMarine`,
`MediumBlue`,
`MediumOrchid`,
`MediumPurple`,
`MediumSeaGreen`,
`MediumSlateBlue`,
`MediumSpringGreen`,
`MediumTurquoise`,
`MediumVioletRed`,
`MidnightBlue`,
`MintCream`,
`MistyRose`,
`Moccasin`,
`NavajoWhite`,
`Navy`,
`OldLace`,
`Olive`,
`OliveDrab`,
`Orange`,
`OrangeRed`,
`Orchid`,
`PaleGoldenRod`,
`PaleGreen`,
`PaleTurquoise`,
`PaleVioletRed`,
`PapayaWhip`,
`PeachPuff`,
`Peru`,
`Pink`,
`Plum`,
`PowderBlue`,
`Purple`,
`Red`,
`RosyBrown`,
`RoyalBlue`,
`SaddleBrown`,
`Salmon`,
`SandyBrown`,
`SeaGreen`,
`SeaShell`,
`Sienna`,
`Silver`,
`SkyBlue`,
`SlateBlue`,
`SlateGray`,
`SlateGrey`,
`Snow`,
`SpringGreen`,
`SteelBlue`,
`Tan`,
`Teal`,
`Thistle`,
`Tomato`,
`Turquoise`,
`Violet`,
`Wheat`,
`White`,
`WhiteSmoke`,
`Yellow`,
`YellowGreen`,
]
@abdihalilovdev
Copy link

Nice

@Pig-master
Copy link

Super helpful thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment