# BACTIONCOLOR System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md)
**Function Description:**
The BACTIONCOLOR system variable is used to set text color in block editor.
| | |
| --- | --- |
| Type | Strings |
| Saved in | Registry |
| Initial value | 7 |
The valid value includes BYLAYER, BYBLOCK, and integers from 1 to 255.The True color is a strings with RGB in front and each value is separated by a comma. It is entered as the following way: RGB:000,000,000
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/BACTIONCOLOR.html) · © Gstarsoft Co., Ltd.