Color Parameters
Color Parameters |
|
B |
Background |
BW |
Black and White |
GS |
Greyscale |
Color Palette
The color palette differs depending on the input format and, for AutoCAD, background color.
Background
PARAMETER |
B or BAC[KGROUND] |
Purpose |
This 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. |
Values |
0: Black |
|
254: Grey (AutoCAD) |
|
255: White (Default) |
|
White |
|
Black |
|
Grey/Gray |
Examples |
-B 1 |
|
-B BLACK |
Aliases |
-BLACK : same as -B 0 |
|
-WHITE : same as -B 255 |
|
-GREY: same as -B 254 |
Use |
With all graphic formats |
Black and White
PARAMETER |
BW |
Purpose |
This parameter selects Black and White only mode. Output will be Black on a White background |
Example |
-BW |
Values |
|
0 |
Normal Color mode |
1 or nothing |
Black and White only |
Default |
0 - Normal color mode |
Alias |
-MONO (for “Monochrome”) |
Use |
All formats |
Greyscale
PARAMETER |
GREYSCALE |
Purpose |
This parameter selects Greyscale mode. Output will be shades of Grey on a White background |
Formula |
The conversion from RGB to Gray is: GREY = .3 * Red + .59 * Green + .11 * Blue |
Example |
-GS |
Alternate Spelling |
-GREYSCALE |
|
-GRAYSCALE |
Default |
0 - Normal color mode |
Alias |
-GS |
|
-GREY |
|
-GRAY |
Use |
All formats |
Last updated on 6 Jun 2020
Published on 6 Jun 2020