# Color Command line
[GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [C](%28C%29.md)
## Function Description:
> Change the current color
**Command Entry:**
> -COLOR
**Command Prompt:**
> Color for drawing new entities \<BYLAYER\>:
>
> You can enter a color from the AutoCAD Color Index (a color name or number), a true color, or a color from a color book.
>
> You can enter the color number (1 through 255\) or the color name (the names for the first seven colors). For example, you can specify the color red by entering the ACI number
> *1* or the ACI name *red*.
>
> You can also enter *bylayer* or *byblock*. If you enter
> *byblock*, all new objects are drawn in the default color (white or black, depending on your background color) until they are grouped into a block. When you insert the block in a drawing, the objects in the block inherit the current setting of COLOR.
>
> **True Color:** Specify a true color to be used for the selected object.
>
> **Color Book:** Specify a color from a loaded color book to be used for the selected object.