globalmapper.toRGB

globalmapper.toRGB(uint8 r, uint8 g, uint8 b) COLORREF[source]

Creates a COLORREF based on a three-integer RGB input.

Parameters
  • r (unit8) – Red value

  • g (uint8) – Green value

  • b (uint8) – Blue value

Returns

A COLORREF object equivalent to the given RGB value

Return type

COLORREF