I'm happy to announce the first release of color-brewery, a crate that defines (and make searchable) Cynthia A. Brewer colormaps as well as the matplotlib ones. It also provides an implementation of color gradients. The crate works out of the box with the rgb crate but is actually generic over the color representation (colors must implement the
RGBColor trait). The documentation is available on docs.rs.
Hope it will be useful to some of you.