Command-line
Run qualpal [options] <values> to generate a palette. The command prints the selected colors as hex values, one per line by default.
Inputs
Input mode | Values |
|---|---|
| A list of quoted hex colors, such as |
| Three ranges in hue, saturation, and lightness order. Use degrees from 0 to 360 for hue and values from 0 to 1 for saturation and lightness. |
| A built-in palette name, such as |
Options
Option | Purpose |
|---|---|
| Total number of colors to return. Defaults to 8. |
| Input mode. |
| Hex colors to keep in the output palette. |
| Background color as a quoted hex value. |
| Severity of each color vision deficiency to simulate, from 0 to 1. |
| Number of candidate points to sample in colorspace mode. Defaults to 1,000. |
| Color difference metric. Choose |
| Maximum memory use in GB. Defaults to 1.0. |
| Output separator. Choose |
| Colorize terminal output. Choose |
Commands
qualpal list-paletteslists the available built-in palettes.qualpal analyze <values>computes a color difference matrix for a list of hex colors. Usequalpal analyze -i palette <name>to analyze a built-in palette.qualpal helpprints the full help text.
See command-line examples for more ways to generate palettes.
