Repository navigation
COLOR Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Sets the colour given to new objects.
| Command | COLOR |
| Aliases | COL |
| Web app | Available |
| Since | 0.1.0 |
- Type
COLOR. - At the prompt, type a colour:
ByLayer,ByBlock, a colour index from 1 to 255, or a colour name (red,yellow,green,cyan,blue,magenta,white). - Press Enter. The command line confirms the new object colour.
Press Enter without a value to see the current object colour.
You can give the value on the same line, for example COLOR 1 or COLOR ByLayer. This suits scripts.
- The colour applies to objects you draw from now on. Existing objects keep their colour.
- The colour control on the ribbon follows the new value.
- An unknown value prints the accepted forms and changes nothing.
BYLAYER · LAYER · PROPERTIES · MATCHPROP
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference