---
type: Use Case
title: Many categories (more than 12)
description: Label images, segmentation masks or clusters with dozens to hundreds of classes, where neighbors just need to differ.
tags:
  - use-case
  - categorical
x-colorcurious-slug: categorical-many
x-colorcurious-colormap-type: categorical
x-colorcurious-synonyms:
  - segmentation
  - label image
  - clusters
  - many classes
  - instance labels
  - glasbey
x-colorcurious-recommended:
  - colorcet.glasbey
  - colorcet.glasbey-light
  - colorcet.glasbey-dark
x-colorcurious-data: https://colorcurio.us/data/use-cases.json#categorical-many
---

# Many categories (more than 12)

> Label images, segmentation masks or clusters with dozens to hundreds of classes, where neighbors just need to differ.

Required colormap type: **categorical**. Also known as: segmentation, label image, clusters, many classes, instance labels, glasbey.

## Constraints

A map must be categorical and pass every test below. Fields are paths in [catalog.json](https://colorcurio.us/data/catalog.json) entries.

- `stops_count` ≥ 13 — Only palettes with more than 12 colors.

## Recommended

1. [Glasbey](../colormaps/colorcet.glasbey.md) (`colorcet.glasbey`): 256-class auto-distinct categorical palette, usable on light and dark backgrounds. License: CC-BY-4.0. Stops: [JSON](https://colorcurio.us/data/colormaps/colorcet.glasbey.json).
2. [Glasbey (light bg)](../colormaps/colorcet.glasbey-light.md) (`colorcet.glasbey-light`): Glasbey variant that excludes too-light colors; tuned for light backgrounds. License: CC-BY-4.0. Stops: [JSON](https://colorcurio.us/data/colormaps/colorcet.glasbey-light.json).
3. [Glasbey (dark bg)](../colormaps/colorcet.glasbey-dark.md) (`colorcet.glasbey-dark`): Glasbey variant that excludes too-dark colors; tuned for dark backgrounds. License: CC-BY-4.0. Stops: [JSON](https://colorcurio.us/data/colormaps/colorcet.glasbey-dark.json).

## Notes

With this many classes, colors alone cannot be told apart by every reader; use them to separate neighbors, not as a legend.

## Other maps that pass

7 other categorical maps pass the constraints (not reviewed for this task; maps under Avoid are left out): `colorcet.glasbey-bw`, `colorcet.glasbey-category10`, `colorcet.glasbey-cool`, `colorcet.glasbey-hv`, `colorcet.glasbey-warm`, `tol.discrete-rainbow`, `tol.land_cover`.

## See also

- [Categorical classes (up to about 12)](categorical-classes.md)
