<doc>
  <legacy_id>1598</legacy_id>
  <name>colorNames</name>
  <type>function</type>
  <syntax>
    <example>the colorNames</example>
    <example>colorNames()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Writing LiveCode</category>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <command tag="answer color">answer color Command</command>
    <function tag="functionNames">functionNames Function</function>
    <function tag="propertyNames">propertyNames Function</function>
    <operator tag="is a">is a Operator</operator>
    <property tag="topColor">topColor Property</property>
    <property tag="HTMLText">HTMLText Property</property>
    <property tag="linkColor">linkColor Property</property>
    <property tag="selectionHandleColor">selectionHandleColor Property</property>
    <property tag="linkHiliteColor">linkHiliteColor Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> a list of the color names you can use in <glossary tag="LiveCode">LiveCode</glossary>.</summary>
  <examples>
    <example>the colorNames</example>
    <example>if field "Color" is not among the lines of the colorNames then beep</example>
  </examples>
  <description>
    <p>Use the <b>colorNames</b> <glossary tag="property">property</glossary> to check whether a particular color name can be used to specify <property tag="properties">properties</property> such as <property tag="foregroundColor">foregroundColor</property> and <property tag="backgroundColor">backgroundColor</property>.</p><p/><p><b>Value:</b></p><p>The <b>colorNames</b> function <glossary tag="return">returns</glossary> a list of color names, one per line.</p><p/><p><b>Comments:</b></p><p>You can use the color names with the <b>foregroundColor</b>, <property tag="backgroundColor">backgroundColor</property>, <property tag="focusColor">focusColor</property>, <property tag="topColor">topColor</property>, <property tag="bottomColor">bottomColor</property>, <property tag="hiliteColor">hiliteColor</property>, <property tag="borderColor">borderColor</property>, <property tag="shadowColor">shadowColor</property>, <property tag="selectionHandleColor">selectionHandleColor</property>, <property tag="accentColor">accentColor</property>, <property tag="backdrop">backdrop</property>, <property tag="brushColor">brushColor</property>, and <property tag="penColor">penColor</property> <property tag="properties">properties</property>.</p>
  </description>
</doc>