Working With Colors

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

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

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

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

Some colors 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 color for an element, Squore automatically generates a set of consistent random colors used on the dashboard.

Scales levels also have associated colors so that they can be represented in the charts. The color 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.