<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Color name list in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/color-name-list/m-p/244427#M22630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you'd like the full CSS3 color names, just require the "dojo/colors" modules and they'll be added to the Color.named list.&amp;nbsp; Something kinda like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;require(["dojo/_base/Color","dojo/colors"],function(Color,colors){
&amp;nbsp; console.log(Color.named);
&amp;nbsp; var orangeClr = new Color(Color.named.orange);
&amp;nbsp; console.log(orangeClr);
});&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dojotoolkit.org/reference-guide/1.10/dojo/colors.html#dojo-colors" title="https://dojotoolkit.org/reference-guide/1.10/dojo/colors.html#dojo-colors" rel="nofollow noopener noreferrer" target="_blank"&gt;dojo.colors — The Dojo Toolkit - Reference Guide&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 12:12:19 GMT</pubDate>
    <dc:creator>JohnGrayson</dc:creator>
    <dc:date>2021-12-11T12:12:19Z</dc:date>
    <item>
      <title>Color name list</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/color-name-list/m-p/244425#M22628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where can I find the list of named colors that are accepted by the JavaScript API color object?&amp;nbsp; It is NOT JavaScript's color list.&amp;nbsp; For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var myColor = new Color('orange');&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returns white - because it doesn't know what orange is.&amp;nbsp; (orange works&amp;nbsp; just fine in any style item)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 18:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/color-name-list/m-p/244425#M22628</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-12-10T18:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Color name list</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/color-name-list/m-p/244426#M22629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dojo definition for the dojo/_base/Color module that esri/Color is based on has a list here in the source code.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/dojo/dojo/blob/master/_base/Color.js#L33-L51" title="https://github.com/dojo/dojo/blob/master/_base/Color.js#L33-L51"&gt;dojo/Color.js at master · dojo/dojo · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; background-color: #f6f6f6;"&gt;"black":&amp;nbsp; [0,0,0],&lt;BR /&gt;"silver": [192,192,192],&lt;BR /&gt;"gray":&amp;nbsp;&amp;nbsp; [128,128,128],&lt;BR /&gt;"white":&amp;nbsp; [255,255,255],&lt;BR /&gt;"maroon": [128,0,0],&lt;BR /&gt;"red":&amp;nbsp;&amp;nbsp; [255,0,0],&lt;BR /&gt;"purple": [128,0,128],&lt;BR /&gt;"fuchsia":[255,0,255],&lt;BR /&gt;"green":&amp;nbsp; [0,128,0],&lt;BR /&gt;"lime":&amp;nbsp;&amp;nbsp; [0,255,0],&lt;BR /&gt;"olive":&amp;nbsp; [128,128,0],&lt;BR /&gt;"yellow": [255,255,0],&lt;BR /&gt;"navy":&amp;nbsp;&amp;nbsp; [0,0,128],&lt;BR /&gt;"blue":&amp;nbsp;&amp;nbsp; [0,0,255],&lt;BR /&gt;"teal":&amp;nbsp;&amp;nbsp; [0,128,128],&lt;BR /&gt;"aqua":&amp;nbsp;&amp;nbsp; [0,255,255],&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 19:03:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/color-name-list/m-p/244426#M22629</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-12-10T19:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Color name list</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/color-name-list/m-p/244427#M22630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you'd like the full CSS3 color names, just require the "dojo/colors" modules and they'll be added to the Color.named list.&amp;nbsp; Something kinda like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;require(["dojo/_base/Color","dojo/colors"],function(Color,colors){
&amp;nbsp; console.log(Color.named);
&amp;nbsp; var orangeClr = new Color(Color.named.orange);
&amp;nbsp; console.log(orangeClr);
});&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dojotoolkit.org/reference-guide/1.10/dojo/colors.html#dojo-colors" title="https://dojotoolkit.org/reference-guide/1.10/dojo/colors.html#dojo-colors" rel="nofollow noopener noreferrer" target="_blank"&gt;dojo.colors — The Dojo Toolkit - Reference Guide&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:12:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/color-name-list/m-p/244427#M22630</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-12-11T12:12:19Z</dc:date>
    </item>
  </channel>
</rss>

