Specifies the color used to paint and to fill shapes in an image.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the brushColor to {colorName | RGBColor}
# Examples
set the brushColor to "blue"
set the brushColor to "#FFCC99"
set the brushColor to 127,127,255
# Description
Use the brushColor property to change the color used with the bucket, spray can, and brush paint tools, and for the interior of filled shapes.
If the brushPattern has been set since the last time the brushColor was set, the pattern is used instead of the color specified by brushColor. In other words, the last-set property takes priority.
# Tags
ui,
# See
- **keyword:** image, rectangle, roundRect, polygon, spray can, bucket, brush, oval, regular - **glossary:** property, hexadecimal, paint tool, integer, color reference - **property:** backgroundColor, filled, lineSize, penColor, brushPattern