q

qcm

@preview

Qualitative Colormaps

v0.1.0
MIT

Package Information

Last Updated
Minimum Typst Version
0.10.0

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/qcm:0.1.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/qcm:0.1.0": *

Version History

0.1.00.10.0
fa8317235caf...

qcm

Qualitative Colormaps for Typst

Qualitative colormaps contain a fixed number of distinct and easily differentiable colors. They are suitable to use for e.g. categorical data visualization.

Source

The following colormaps are available:

Usage

Usage is very simple:

#import "@preview/qcm:0.1.0": colormap

#colormap("Set1", 5)