# INTERSECTIONCOLOR System Variable
[GstarCAD 2016](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [I](%28I%29.md)
## Function Description:
The INTERSECTIONCOLOR system variable is used to specify the color of intersection polyline in current viewport.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Drawing |
| Initial value | 7 |
The initial value is 7, by which users could change to a special color based on background(white or black).
The value of 0 specifies to be ByBlock; the value of 255 specifies to be ByLayer; the value of 257 specifies to be ByEntity.
Users could input a value from 1 to 255 to specify a GCI color. They could also specify a true color or an index color.
**Note:** the INTERSECTIONCOLOR system variable controls the intersection polyline color only in 2D frame visual style.
**Note:** the new inputted value has no effect on existing visual styles.
---
## Other versions with matching text
[GstarCAD 2017](../../../2017/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md) · [GstarCAD 2018](../../../2018/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md) · [GstarCAD 2019](../../../2019/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md) · [GstarCAD 2020](../../../2020/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md) · [GstarCAD 2021](../../../2021/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md)