AutoXchange 2026 Technical Documentation

Color Parameters

Color Parameters
ParameterJSON ParameterDescription
BBackgroundBackground
BWForceBlackBlack and White
GSGreyScaleGreyscale

Color Palette

The color palette differs depending on the input format and, for AutoCAD, background color.

Background

PARAMETERB or BAC[KGROUND]
PurposeThis parameter defines whether the background of the output image is black, white
or another color. The color table is based on the color table for the input format.
So DWG/DXF, DWF and DGN all have different color table definitions. Each format has
Black as 0 and White as 255. For AutoCAD 250 through 254 are shades of gray.
Values0: Black
1: Red
2: Yellow
3: Green
4: Cyan
5: Blue
6: Magenta
254: Grey (AutoCAD)
255: White (Default)
Black
Red
Yellow
Green
Cyan
Blue
Magenta
White
Grey/Gray
Examples-B 1
-B BLACK
JSON{“Background” : “Yellow”}
{“Background” : 2}
Aliases-BLACK : same as -B 0
-WHITE : same as -B 255
-GREY: same as -B 254
UseWith all graphic formats

 

Black and White

PARAMETERBW
PurposeThis parameter selects Black and White only mode. Output will be Black on a White background
Example-BW
JSON{“ForceBlack” : true}
{“Mono” : “”}
Values
0Normal Color mode
1 or nothingBlack and White only
Default0 - Normal color mode
Alias-MONO (for “Monochrome”)
UseAll formats

 

Greyscale

PARAMETERGREYSCALE
PurposeThis parameter selects Greyscale mode. Output will be shades of Grey on a White background
FormulaThe conversion from RGB to Gray is: GREY = .3 * Red + .59 * Green + .11 * Blue
Example-GS
JSON{“GreyScale” : true}
Alternate Spelling-GREYSCALE
-GRAYSCALE
Default0 - Normal color mode
Alias-GS
-GREY
-GRAY
UseAll formats
Last updated on 27 Jan 2022
Published on 6 Jun 2020