Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, blue has a RGB value of (0, 0, 255), therefore its color parameter is 0 + 0 * 256 + 255 * 2562 = 16711680.

You may find the RGB value corresponding to the color parameter by utilizing the modulo operation as follows:

  • R = (color parameter) modulo 256
  • G = (color parameter / 256) modulo 256
  • B = color parameter / 2562

where / is integer division operator.

Show if
groupeditors

Related Incidents:

  • Incident 34405: color field in the Area Section Properties database table