# INTERSECTIONCOLOR System Variable [GstarCAD 2021](Help%20System/GSTARCAD/2021/Index.md) → [System Variables](Help%20System/GSTARCAD/2021/System%20Variables/(System%20Variables).md) → [I](Help%20System/GSTARCAD/2021/System%20Variables/I/(I).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 2016](../../../2016/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md) · [GstarCAD 2017](Help%20System/GSTARCAD/2017/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/System%20Variables/I/INTERSECTIONCOLOR%20System%20Variable.md)