Colours
- Last UpdatedDec 02, 2025
- 4 minute read
Draft allows you to draw in up to 272 colours, numbered 1 to 272. By default all 272 colour numbers have colour definitions assigned to them:
Colour numbers 1 to 16 are assigned by default to the following colours:
|
Colour 1 |
Grey |
Colour 9 |
Brown |
|
Colour 2 |
Red |
Colour 10 |
White |
|
Colour 3 |
Orange |
Colour 11 |
Pink |
|
Colour 4 |
Yellow |
Colour 12 |
Mauve |
|
Colour 5 |
Green |
Colour 13 |
Turquoise |
|
Colour 6 |
Cyan |
Colour 14 |
Indigo |
|
Colour 7 |
Blue |
Colour 15 |
Black |
|
Colour 8 |
Violet |
Colour 16 |
Magenta |
Colour numbers 17 to 272 are mapped to the colours in the standard AutoCAD™ Colour Index (ACI).
The system maintains a dictionary of 61 colour names that may be used in place of colour numbers when specifying a colour or setting the value of a colour attribute. These names (which include the 16 given above) and their ACI (AutoCAD Colour Index) and RGB values are as follows:
|
COLOUR |
ACI |
RED |
GREEN |
BLUE |
|---|---|---|---|---|
|
Black |
0 |
0.000 |
0.000 |
0.000 |
|
White |
7 |
1.000 |
1.000 |
1.000 |
|
Whitesmoke |
7 |
1.000 |
1.000 |
1.000 |
|
Ivory |
51 |
1.000 |
1.000 |
0.667 |
|
Grey |
253 |
0.510 |
0.510 |
0.510 |
|
Lightgrey |
254 |
0.745 |
0.745 |
0.745 |
|
Darkgrey |
251 |
0.314 |
0.314 |
0.314 |
|
Darkslate |
129 |
0.208 |
0.310 |
0.286 |
|
Red |
1 |
0.741 |
0.000 |
0.000 |
|
Brightred |
1 |
1.000 |
0.000 |
0.000 |
|
Coralred |
22 |
0.741 |
0.180 |
0.000 |
|
Tomato |
20 |
1.000 |
0.247 |
0.000 |
|
Plum |
215 |
0.506 |
0.337 |
0.506 |
|
Deeppink |
230 |
1.000 |
0.000 |
0.498 |
|
Pink |
243 |
0.741 |
0.494 |
0.553 |
|
Salmon |
21 |
1.000 |
0.749 |
0.667 |
|
Orange |
30 |
1.000 |
0.749 |
0.000 |
|
Brightorange |
49 |
1.000 |
0.749 |
0.000 |
|
Orangered |
30 |
1.000 |
0.498 |
0.000 |
|
Maroon |
226 |
0.408 |
0.000 |
0.306 |
|
Yellow |
50 |
1.000 |
1.000 |
0.000 |
|
Gold |
30 |
1.000 |
0.749 |
0.000 |
|
Lightyellow |
51 |
1.000 |
1.000 |
0.667 |
|
Lightgold |
41 |
1.000 |
0.918 |
0.667 |
|
Yellowgreen |
62 |
0.553 |
0.741 |
0.000 |
|
Springgreen |
110 |
0.000 |
1.000 |
0.498 |
|
Green |
92 |
0.000 |
0.741 |
0.000 |
|
Forestgreen |
84 |
0.122 |
0.506 |
0.000 |
|
Darkgreen |
108 |
0.000 |
0.310 |
0.075 |
|
Cyan |
4 |
0.000 |
1.000 |
1.000 |
|
Turquoise |
132 |
0.000 |
0.741 |
0.741 |
|
Aquamarine |
120 |
0.000 |
1.000 |
0.749 |
|
Blue |
5 |
0.000 |
0.000 |
1.000 |
|
Royalblue |
160 |
0.000 |
0.247 |
1.000 |
|
Navyblue |
176 |
0.000 |
0.000 |
0.408 |
|
Powderblue |
141 |
0.667 |
0.918 |
1.000 |
|
Midnight |
168 |
0.000 |
0.075 |
0.310 |
|
Steelblue |
142 |
0.000 |
0.553 |
0.741 |
|
Indigo |
196 |
0.204 |
0.000 |
0.408 |
|
Mauve |
204 |
0.376 |
0.000 |
0.506 |
|
Violet |
221 |
1.000 |
0.667 |
0.918 |
|
Magenta |
6 |
1.000 |
0.000 |
1.000 |
|
Beige |
43 |
0.741 |
0.678 |
0.494 |
|
Wheat |
31 |
1.000 |
0.831 |
0.667 |
|
Tan |
32 |
0.741 |
0.369 |
0.000 |
|
Sandybrown |
42 |
0.741 |
0.553 |
0.000 |
|
Brown |
36 |
0.408 |
0.204 |
0.000 |
|
Khaki |
55 |
0.506 |
0.506 |
0.337 |
|
Chocolate |
38 |
0.310 |
0.153 |
0.000 |
|
Darkbrown |
48 |
0.310 |
0.231 |
0.000 |
|
Blueviolet |
190 |
0.498 |
0.000 |
1.000 |
|
Firebrick |
30 |
1.000 |
0.498 |
0.000 |
|
Darkorchid |
202 |
0.553 |
0.000 |
0.741 |
|
Dimgrey |
252 |
0.412 |
0.412 |
0.412 |
|
Coral |
22 |
0.741 |
0.180 |
0.000 |
|
Indianred |
13 |
0.741 |
0.494 |
0.494 |
|
Lightblue |
151 |
0.667 |
0.831 |
1.000 |
|
Limegreen |
80 |
0.247 |
1.000 |
0.000 |
|
Mediumaquamarine |
121 |
0.667 |
1.000 |
0.918 |
|
Sienna |
34 |
0.506 |
0.251 |
0.000 |
|
Stateblue |
173 |
0.495 |
0.494 |
0.741 |
Note: The actual RGB definitions of these colours have generally changed so as to match entries in the ACI. This has led to duplication: thus White and Whitesmoke are both mapped to ACI 7, and Orange, Brightorange and Gold are mapped to ACI 40. The redundant colour names have been maintained for compatibility with previous versions of AVEVA Software.
It is possible to change the definitions of colours 1-16 using the COLOUR command. The syntax can take three forms, either specifying a predefined name from the system colour dictionary, or a percentage mixture, or an RGB definition. Typical examples would be:
COLour 3 STEELBLUE
COLour 12 MIX RED 80 GREen 50 BLUe 50
COLour 14 RGB 0, 141, 188
Where a percentage mixture is specified all three values must be in the range 0-100. Where an RGB definition is given all three values must be in the range 0-255.
Colour definitions can be queried thus:
Q COLour 12
Q COLour RGB 55
Colour attributes can be assigned values by number or name, thus:
LLCOLOUR 54
TXCOLOUR NAVYBLUE
When a colour attribute is queried the name (for example, ‘orange’) will be returned if available, otherwise the colour number will be returned. If a number is specifically required (regardless of whether a name is available, a special colour-number pseudo-attribute should be used. The names of these are derived from the normal colour attributes, for example, LLCONU/MBER, TXCONU/MBER, FCONUM/BER
It is possible to set all colour attributes on an element to the same value by the ALLCOLOURS command. As some DRAFT elements have many such attributes this is a convenient way of changing them to the same colour quickly. To set all the text colours and all the line colours separately the TEXTCOLOURS and LINECOLOURS commands should be used, thus, for example:
ALLCOLOURS RED
TEXTCOLOURS 7
LINECOLOURS GREEN
The list of colour attributes are listed. The special colour attribute values of DEFAULT, TEMPLATE, and UNCHANGED can also be specified but these are only valid in particular circumstances. See the relevant sections of this User Guide for further information of where these values are allowed.