Working With Colours

All the chart attributes that allow specifying a colour (for a background, a series, markers and text) support the following syntax:

  • Using the colour’s RGB value: Green is color="0,128,0" or color="rgb(0,128,0)"

  • Using the colour’s integer value: Green is color="32768"

  • Using the colour’s HTML code: Green is color="#008800"

Some colours can also be used directly by name:

  • WHITE

  • LIGHT_GRAY

  • GRAY

  • DARK_GRAY

  • BLACK

  • RED

  • PINK

  • ORANGE

  • YELLOW

  • GREEN

  • MAGENTA

  • CYAN

  • BLUE

When you do not explicitly specify a colour for an element, Squore automatically generates a set of consistent random colours used on the dashboard.

Scales levels also have associated colours so that they can be represented in the charts. The colour of each level of performance is defined in a .properties file (see Properties files, and the same syntax as the one explained above is supported.