Free utility
AutoCAD Color Index (ACI) chart
Look up any of the 255 AutoCAD index colors with its RGB and HEX value, copy it with a click, or enter an RGB or HEX color to find the closest ACI number.
How it works
- 1
Find a color
Browse the chart of colors 1 to 255 and select the one you need to see its index number, RGB and HEX values.
- 2
Copy the value
Click the RGB or HEX value to copy it for a style sheet, a plot table or a specification.
- 3
Search in reverse
Type an RGB or HEX color to get the ACI number that comes closest to it.
What you get
- The complete index
- All 255 numbered colors, from the seven named ones to the grays at the end of the table.
- RGB and HEX for each
- Use the values in web pages, graphics software or documentation that has to match the drawing.
- Nearest ACI match
- Turn a brand or material color into the closest index color for a layer standard.
How the AutoCAD Color Index is organized
ACI is a fixed palette of 255 colors, each identified by a number. Colors 1 to 7 have names: 1 red, 2 yellow, 3 green, 4 cyan, 5 blue, 6 magenta and 7 white — which is displayed as black when the background is light. Colors 8 and 9 are two grays.
Colors 10 to 249 form the main body of the table. They run around the color wheel in steps of ten — 10 is red, 50 yellow, 90 green, 130 cyan, 170 blue and 210 magenta — and within each group of ten the shades become darker, with the odd numbers being paler versions of the even ones. Colors 250 to 255 are a gray ramp from dark to light. Two more values are not colors at all: 0 means ByBlock and 256 means ByLayer.
Why index colors still matter
AutoCAD has supported 24-bit true color for many years, yet most drawings still use index colors, for a practical reason: plotting. A color-dependent plot style table (a CTB file) assigns a pen width, a screening and an output color to each ACI number, so the color of an object on screen determines how thick and how dark it prints. Office standards are therefore written in ACI numbers.
Index colors are also what DXF files store by default — a layer or an object simply carries its ACI number. When such a drawing has to be matched outside CAD, in a report template or a web map, the RGB and HEX values in this chart give the usual on-screen equivalent of each number; some programs render the darker shades and grays slightly differently.
Frequently asked questions
What is ACI color 7?
White or black, depending on the background. Color 7 is drawn white on a dark background and black on a light one, and it prints black on white paper.
What do color 0 and color 256 mean?
They are not colors but instructions. 0 is ByBlock: the object takes the color of the block reference it belongs to. 256 is ByLayer: the object takes the color of its layer.
How do I convert an RGB color to ACI?
Enter the RGB or HEX value in the chart and it returns the nearest index color. With only 255 colors to choose from, the match is approximate; where an exact color matters, use true color in your CAD program instead.
Which ACI colors are gray?
Colors 8 and 9, and the six colors from 250 to 255, which run from dark gray to white.
Related tools
DWG & DXF Inspector
List the layers, blocks, object counts, units and extents of a drawing.
DWG Viewer
Open AutoCAD DWG drawings in the browser. No install, no upload.
DXF Viewer
View ASCII and binary DXF files, check layers and measure. No upload.
DWG to PDF
Vector PDFs from DWG drawings, to scale, on any paper size.