1. Home
  2. RGB


RGB(r; g; b) and RGB(t) calculate RGB colour values. If there are three arguments, r, g and b, these must be numerical structures specifying the red, green and blue components of the colour (which must all be in the range 0-255). If there is a single argument, t, this must be a text containing names of the standard Genstat colours.

Updated on September 22, 2020

Was this article helpful?