package color-brewery

All checked builds pass
  1. Overview
  2. Docs
Offer colors palettes and functions to brew colors

Install

dune-project
 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.

Added to opam-repository:

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

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building color-brewery with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.2 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure