rgb#

Mapdl.rgb(kywrd='', pred='', pgrn='', pblu='', n1='', n2='', ninc='', ncntr='', **kwargs)#

Specifies the RGB color values for indices and contours.

APDL Command: /RGB

Parameters:
kywrd

Determines how RGB modifications will be applied.

INDEX - Specifies that subsequent color values apply to ANSYS color indices (0-15).

CNTR - Specifies that subsequent color values apply to contours (1-128). Applies to

C-option devices only (i.e. X11C or Win32C).

pred

Intensity of the color red, expressed as a percentage.

pgrn

Intensity of the color green, expressed as a percentage.

pblu

Intensity of the color blue, expressed as a percentage.

n1

First index (0-15), or contour (1-128) to which the designated RGB values apply.

n2

Final index (0-15), or contour (1-128) to which the designated RGB values apply.

ninc

The step increment between the values N1 and N2 determining which contours or indices will be controlled by the specified RGB values.

ncntr

The new maximum number of contours (1-128).

Notes

Issuing the /CMAP command (with no filename) will restore the default color settings.