snipt

Ctrl+h for KB shortcuts

Text only

W3C Keyword Colors

var colors = ["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","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","navyblue","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","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"];

Description

This is an array of the colors you can use by keyword in CSS.
https://snipt.net/embed/c256caf16f701b062a6fcbe739aac7ab/
/raw/c256caf16f701b062a6fcbe739aac7ab/
c256caf16f701b062a6fcbe739aac7ab
text
Text only
1
2019-08-24T01:13:37
True
False
False
Jun 08, 2014 at 01:19 AM
/api/public/snipt/135283/
w3c-keyword-colors-90c153dd
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>var colors = [&quot;aliceblue&quot;,&quot;antiquewhite&quot;,&quot;aqua&quot;,&quot;aquamarine&quot;,&quot;azure&quot;,&quot;beige&quot;,&quot;bisque&quot;,&quot;black&quot;,&quot;blanchedalmond&quot;,&quot;blue&quot;,&quot;blueviolet&quot;,&quot;brown&quot;,&quot;burlywood&quot;,&quot;cadetblue&quot;,&quot;chartreuse&quot;,&quot;chocolate&quot;,&quot;coral&quot;,&quot;cornflowerblue&quot;,&quot;cornsilk&quot;,&quot;crimson&quot;,&quot;cyan&quot;,&quot;darkblue&quot;,&quot;darkcyan&quot;,&quot;darkgoldenrod&quot;,&quot;darkgray&quot;,&quot;darkgreen&quot;,&quot;darkkhaki&quot;,&quot;darkmagenta&quot;,&quot;darkolivegreen&quot;,&quot;darkorange&quot;,&quot;darkorchid&quot;,&quot;darkred&quot;,&quot;darksalmon&quot;,&quot;darkseagreen&quot;,&quot;darkslateblue&quot;,&quot;darkslategray&quot;,&quot;darkturquoise&quot;,&quot;darkviolet&quot;,&quot;deeppink&quot;,&quot;deepskyblue&quot;,&quot;dimgray&quot;,&quot;dodgerblue&quot;,&quot;firebrick&quot;,&quot;floralwhite&quot;,&quot;forestgreen&quot;,&quot;fuchsia&quot;,&quot;gainsboro&quot;,&quot;ghostwhite&quot;,&quot;gold&quot;,&quot;goldenrod&quot;,&quot;gray&quot;,&quot;green&quot;,&quot;greenyellow&quot;,&quot;honeydew&quot;,&quot;hotpink&quot;,&quot;indianred&quot;,&quot;indigo&quot;,&quot;ivory&quot;,&quot;khaki&quot;,&quot;lavender&quot;,&quot;lavenderblush&quot;,&quot;lawngreen&quot;,&quot;lemonchiffon&quot;,&quot;lightblue&quot;,&quot;lightcoral&quot;,&quot;lightcyan&quot;,&quot;lightgoldenrodyellow&quot;,&quot;lightgreen&quot;,&quot;lightgrey&quot;,&quot;lightpink&quot;,&quot;lightsalmon&quot;,&quot;lightseagreen&quot;,&quot;lightskyblue&quot;,&quot;lightslategray&quot;,&quot;lightsteelblue&quot;,&quot;lightyellow&quot;,&quot;lime&quot;,&quot;limegreen&quot;,&quot;linen&quot;,&quot;magenta&quot;,&quot;maroon&quot;,&quot;mediumaquamarine&quot;,&quot;mediumblue&quot;,&quot;mediumorchid&quot;,&quot;mediumpurple&quot;,&quot;mediumseagreen&quot;,&quot;mediumslateblue&quot;,&quot;mediumspringgreen&quot;,&quot;mediumturquoise&quot;,&quot;mediumvioletred&quot;,&quot;midnightblue&quot;,&quot;mintcream&quot;,&quot;mistyrose&quot;,&quot;moccasin&quot;,&quot;navajowhite&quot;,&quot;navy&quot;,&quot;navyblue&quot;,&quot;oldlace&quot;,&quot;olive&quot;,&quot;olivedrab&quot;,&quot;orange&quot;,&quot;orangered&quot;,&quot;orchid&quot;,&quot;palegoldenrod&quot;,&quot;palegreen&quot;,&quot;paleturquoise&quot;,&quot;palevioletred&quot;,&quot;papayawhip&quot;,&quot;peachpuff&quot;,&quot;peru&quot;,&quot;pink&quot;,&quot;plum&quot;,&quot;powderblue&quot;,&quot;purple&quot;,&quot;red&quot;,&quot;rosybrown&quot;,&quot;royalblue&quot;,&quot;saddlebrown&quot;,&quot;salmon&quot;,&quot;sandybrown&quot;,&quot;seagreen&quot;,&quot;seashell&quot;,&quot;sienna&quot;,&quot;silver&quot;,&quot;skyblue&quot;,&quot;slateblue&quot;,&quot;slategray&quot;,&quot;snow&quot;,&quot;springgreen&quot;,&quot;steelblue&quot;,&quot;tan&quot;,&quot;teal&quot;,&quot;thistle&quot;,&quot;tomato&quot;,&quot;turquoise&quot;,&quot;violet&quot;,&quot;wheat&quot;,&quot;white&quot;,&quot;whitesmoke&quot;,&quot;yellow&quot;,&quot;yellowgreen&quot;]; </span></pre></div> </td></tr></table>
W3C, colors, css, javascript