package color-brewery

  1. Overview
  2. Docs
Offer colors palettes and functions to brew colors

Install

Dune Dependency

Authors

Maintainers

Sources

color-brewery-0.2.tbz
sha256=a466c5e178d2aafb660419eec83309c55c8737ca652e0231e45566b5949f33fd
sha512=f613f32186ba41f14eef5564a7ea66b50370ab89d9dbeff0485534d4c9af588657d6515ef8dc2e4ab772eb50032fbce2c956a8acd9f1be1cbc18088ec31339c0

Description

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

README

Color brewery

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.

Install

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.

Documentation

The documentation is available in color_brewery.mli or online.

Dependencies (3)

  1. dune >= "2.0"
  2. gg
  3. ocaml >= "4.03"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.