# CECOLOR System Variable
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) → [C](Help%20System/GSTARCAD/2027/System%20Variables/C/(C).md)
## Function Description:
The CECOLOR system variable is used to set color for new objects.
| | |
| --- | --- |
| Type | Strings |
| Saved in | Drawing |
| Initial value | BYLAER |
The following are valid value:
BYLAYER or BYBLOCK;
Index Color: an integer ranges from 1 to 255, or names of one of front seven colors;
True Color: a RGB or HSL value ranges from 000 to 255, the format is "RGB: 000,000,000"Color Books: the standard PANTONE or customized color systems, DIC color books or RAL color sets.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Cgsv/CECOLOR.html) · © Gstarsoft Co., Ltd.