Consecutively Contrasted Colors List

Name: Consecutively Contrasted Colors List
Author: Stephane Vellay
Version: 1.0
Created: May 2008

Purpose: To get a list of colors that are contrasted compared to their neighbour in intensity and hue. You can use this list in reporting components for example. The colors list generated is copied in 3 globals:

  • @ColorList contains a comma-separated list of the colors as an RGB hexadecimal triplet
  • @HexColorList contains an array of the colors as an RGB hexadecimal triplet
  • @DecColorList contains an array of the colors as an RGB decimal triplet

The parameter NumberOfColors allows you to change the length of that list. The example provided shows that list in a pie chart.

Keyword: reporting, color, colour
Contents: Consecutively Contrasted Colors List component and an example protocol

Please send me your feedback/ideas