*setcolor()

Sets the colormap entry for HyperMesh colors.

Syntax

*setcolor(index,r,g,b)

Type

hm.cfg Commands

Description

Sets the colormap entry for HyperMesh colors. This updates the colors internally but does not modify the popup Tcl/Tk color palette.

Inputs

index
The color location, 1-64.
r,g,b
The red, green and blue intensity color values (0-255).

Example

To set color 1 to dark blue:
*setcolor(1,0,0,255)