color Attribute (DCL)

Specifies the background (fill) color of the image.

Supported Platforms: Windows and Mac OS

color = colorname;

Possible values are an integer or reserved word (default: 7) specified as an AutoCAD color number or as one of the symbolic names shown in the following table:

Symbolic names for colors

Symbolic name

Meaning

dialog_line

Current dialog box line color

dialog_foreground

Current dialog box foreground color (for text)

dialog_background

Current dialog box background color

graphics_background

Current background of the AutoCAD graphics screen (usually equivalent to 0)

black

AutoCAD color = 0 (black) (appears light on a black background)

red

AutoCAD color = 1 (red)

yellow

AutoCAD color = 2 (yellow)

green

AutoCAD color = 3 (green)

cyan

AutoCAD color = 4 (cyan)

blue

AutoCAD color = 5 (blue)

magenta

AutoCAD color = 6 (magenta)

white

graphics_foreground

AutoCAD color = 7 (white) (appears black on a light background)

The symbolic names graphics_background and graphics_foreground are provided as alternatives to the names black and white. The use of a specific color can be confusing because the color that is actually displayed varies depending on the current AutoCAD configuration. Also, vectors in slides that you display in an image are often drawn in black or white. If your image tile is blank when you first display it, try changing its color to graphics_background or graphics_foreground.

Release Information