System Variable HPCOLOR¶
Specifies the default foreground color for new hatches in the current drawing.
Values
Set “.” to use the current color as specified by the CECOLOR variable. Values other than “.” override the current color.
Specify “ByLayer” or “ByBlock”
To set a color index, specify an integer value from 1 to 255, or a color name from the first seven colors:
0
“ByBlock”
1
“red”
2
“yellow”
3
“green”
4
“cyan”
5
“blue”
6
“magenta”
7
“white”
8 .. 255
standard colors
256
“ByLayer”
To set a true color, specify a string of 3 integers from 1 to 255 separated by commas and preceded by RGB (i.e. in the form “RGB:nnn,nnn,nnn”), for example “RGB:000,000,000”.
Properties
Type |
String |
Default |
“.” |
Status |
Read / Write |
Saved |
In the drawing |
Related Variables
CECOLOR, HPBACKGROUNDCOLOR, HPNAME, HPSCALE, HPANG
Related Topics
Related Topics