# HPBACKGROUNDCOLOR System Variable
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) → [H](Help%20System/GSTARCAD/2027/System%20Variables/H/(H).md)
## Function Description:
The HPBACKGROUNDCOLOR system variable is set the background color of hatch pattern.
| | |
| --- | --- |
| Type | Strings |
| Saved in | Registry |
| Initial value | None |
**Valid values:**
"None" or "." to apply no background colorIndex Color: an integer between 1 and 255, or color name of the front seven colors
True Color: a RGB or HSL value between 000 and 255, the format is "RGB:000,000,000"
Color Books: standard color system, wizard, and set text
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Hgsv/HPBACKGROUNDCOLOR.html) · © Gstarsoft Co., Ltd.