Categorical Color Scales

The Desired Properties of a Categorical Color Scale

A categorical color scale is designed to represent categorical information. It has 2 main properties: uniformity and discriminability.

Uniformity

In the context of categorical color scales, this refers to uniform saliency i.e. nothing stands out.

The best way is to use a different color for each category, while making sure that no color is brighter or more saturated than the others, to prevent a single color from drawing more attention to itself and causing an imbalance in the importance given to the categories.

To create a uniform categorical color scale, we must keep saturation/chroma and luminance constant, while uniformly sampling colors across different hues.

Discriminability

In the context of categorical color scales, this again refers to having as many distinct (perceptually distinguishable) values as possible, to be able to clearly depict the categories.

It is recommended to use between 5-10 distinct color hues, depending on the categories to be visualized. Using too many colors can become confusing, and it may become harder to distinguish between colors.

The following 12 colors are recommended, since they are easily distinguishable from one another:

Note: Some colors like red and green may have certain semantics linked to them (red: bad, green: good). In certain cases, it can help to make use of these semantics, since it could make the visualization understandable (perhaps even without a legend). However, in certain cases, it can be counter-productive and mislead the viewer. ANother commonly used semantic association is for the color gray. It is usually perceived as no color and is therefore used to depict an item that belongs to an unspecified/unimportant category.

Last updated