| DCLCLR(1) | GFD Dennou Club Library | DCLCLR(1) |
NAME¶
dclclr - display the DCL color palette chart
SYNOPSIS¶
dclclr [ options ]
DESCRIPTION¶
dclclr is a utility program included in the GFD Dennou Club Library (DCL). It displays a chart of the currently available color indices (0 to 99) as a 10x10 grid of solid-filled rectangles.
This program helps users identify the mapping between color index numbers and the actual rendered colors on the current workstation (graphics device).
The output window is configured by default to be 600x600 pixels. The chart is organized as follows:
- The horizontal axis represents the ones digit of the color index (0-9).
- The vertical axis represents the tens digit of the color index (00-90).
For example, the color located at the intersection of "20" on the vertical axis and "3" on the horizontal axis corresponds to DCL color index 23. The program uses the tone pattern number `index * 1000 + 999` (solid fill) to render each box.
OPTIONS¶
dclclr accepts standard DCL runtime parameters specified in the command-line format. Common parameters include:
- -sw:ws workstation_type
- Specify the output workstation type (e.g., x, gtk,
ps, pdf).
The default depends on the installation configuration. - -sw:iclrmap value
- Specify the internal color map index (default: 1).
Changing this value allows you to preview different color palettes provided by DCL. For example, setting this to 40 selects a different set of colors. - -sw:width pixels
- Specify the window width. The default internal setting is 600.
- -sw:height pixels
- Specify the window height. The default internal setting is 600.
EXAMPLES¶
To run the program using the default workstation:
To display color map No. 40 (often used for specific visualizations):
To force output to a PDF file:
AUTHORS¶
Youhei SASAKI<uwabami@gfd-dennou.org>, GFD Dennou Club
SEE ALSO¶
| 2026-01-23 | DCL 7.5.2 |