<doc>
  <legacy_id>1511</legacy_id>
  <name>brushColor</name>
  <type>property</type>
  <syntax>
    <example>set the brushColor to {<i>colorName</i> |<i> RGBColor</i>}</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Developing with LiveCode</category>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <keyword tag="oval">oval Keyword</keyword>
    <keyword tag="rectangle">rectangle Keyword</keyword>
    <keyword tag="roundRect">roundRect Keyword</keyword>
    <keyword tag="regular">regular Keyword</keyword>
    <keyword tag="polygon">polygon Keyword</keyword>
    <keyword tag="spray can">spray can Keyword</keyword>
    <keyword tag="bucket">bucket Keyword</keyword>
    <keyword tag="brush">brush Keyword</keyword>
    <property tag="lineSize">lineSize Property</property>
    <property tag="backgroundColor">backgroundColor Property</property>
    <property tag="brushPattern">brushPattern Property</property>
    <property tag="penColor">penColor Property</property>
    <property tag="filled">filled 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>Specifies the color used to paint and to fill shapes in an <keyword tag="image">image</keyword>.</summary>
  <examples>
    <example>set the brushColor to "blue"</example>
    <example>set the brushColor to "#FFCC99"</example>
    <example>set the brushColor to 127,127,255</example>
  </examples>
  <description>
    <p>Use the <b>brushColor</b> <glossary tag="property">property</glossary> to change the color used with the <keyword tag="bucket">bucket</keyword>, <keyword tag="spray can">spray can</keyword>, and <keyword tag="brush">brush</keyword> <glossary tag="paint tool">paint tools</glossary>, and for the interior of filled shapes.</p><p/><p><b>Value:</b></p><p>The <b>brushColor</b> is a <href tag="reference/color_reference.rev">color reference</href>.</p><p/><p>The <i>colorName</i> is any standard color name.</p><p/><p>The <i>RGBColor</i> consists of three comma-separated <glossary tag="integer">integers</glossary> between zero and 255, specifying the level of each of red, green, and blue; or an HTML-style color consisting of a hash mark (#) followed by three <glossary tag="hexadecimal">hexadecimal</glossary> numbers, one for each of red, green, and blue.</p><p/><p>By default, the <b>brushColor</b> is<code> black</code>.</p><p/><p><b>Comments:</b></p><p>If the <b>brushPattern</b> has been set since the last time the <b>brushColor</b> was set, the pattern is used instead of the color specified by <b>brushColor</b>. In other words, the last-set <glossary tag="property">property</glossary> takes priority.</p>
  </description>
</doc>