Sets the color for new objects from the Command prompt.
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.
If you enter bylayer, new objects assume the color assigned to the layer on which you create them. See the LAYER command for information about assigning a color to a layer.
If you enter -COLOR at the Command prompt, the following prompts are displayed.
Specifies a true color to be used for the selected object. Enter three integer values from 0 to 255 separated by commas to specify a true color
Specifies a color from a loaded color book to be used for the selected object. Enter the name of a color book that has been installed.
If you enter a color book name, you are prompted to enter the color name in the color book.