Allow to select color palettes given certain characteristics. This is based on the excellent site http://colorbrewer2.org/ It also defines common functions to define colored ranges.
Published: 20 Feb 2021
This module offers colors palettes and functions to brew new colors. In particular, it gives an easy access to the color schemes of ColorBrewer designed by the cartographer Cynthia A. Brewer to assist mapmakers in choosing appropriate color schemes. It also provides a color gradient function.
The easier way to install this library is to use opam:
opam install color-brewery
If you prefer to compile by hand, install the dependencies listed in color-brewery.opam and issue
dune build @install.