Skip to content

SetRGBPalette

Set palette entry using RGB value.

Declaration

Source position: graphh.inc line 668

var
  SetRGBPalette: setrgbpaletteproc = procedure(ColorNum: SmallInt; RedValue: SmallInt; 
                              GreenValue: SmallInt; BlueValue: SmallInt);

Description

SetRGBPalette sets the ColorNr-th entry in the palette to the color with RGB-values Red, Green Blue.

Errors

None.

See also

Name Description
SetAllPalette Specify a complete new palette.
SetPalette Set palette entry using color constant.