color [number]
where number is the number of a color in the colormap list.
The color command specifies the color number to edit in the colormap window. With no arguments, prints the RGB values for the color being edited.Note that color changes made in the color window do not immediately take effect on the layout. It is necessary to pass a refresh command to the layout window, or to type the Control-L macro in the layout window to update the colors.
color is implemented as a built-in color window command in magic. It can only be invoked from a window created with the specialopen color command.
Return to command index |
Last updated: October, 2004