A color can be associated with any entity in a gCADPlus drawing. Provided that the preferences box is active, the color assigned to an entity is shown near the top of the Preferences dialog box.
ByLayer, ByBlock and implicit color definition
Many entities will have color assigned to them 'ByLayer' as that's the default setting. "ByLayer" means the color assigned to a Layer will dictate the color of an entity found on that particular layer. "ByBlock" means the color assigned to a Block will dictate the color of an entity added to a Block Insertion entity. If the entity is not a part of block but has the "ByBlock" color assigned to it, the white color (7) will be used to draw it.
In the example shown below, the entity selected (a polyline) color has been defined implicitly for this polyline - its been set to green. The entity will always appear green, irrespective of the layer color setting.
All colors used in gCADPlus are stored in a table called the "Color palette". Each color of the palette is an RGB (Red Green Blue) value. The so-called index color system is the gCADPlus default system and for continuity with other software like AutoCAD, it allows for 256 distinct (and numbered) colors to be used. Each color has a unique number.
Tip: The command to call up color settings is COLOR. Using the common UK spelling COLOUR will not work.
True colors (millions of colors) can also be used. The color defined by clicking in the ''rainbow" area or typing the appropriate value for RGB (example for a custom Green, the values might be 152, 173, 66. These true colors can be added to custom colors.
It can be useful to create a set of custom colors to add to the palette. We have done just that in the figure below where 14 new colors have been added. These have been used in the landscape drawing shown below. Custom colors are stored with the drawing.
Tip: Create a default drawing with your custom colors to save the need to recreate them on each new job.