package hsluv

  1. Overview
  2. Docs
HSLuv human-friendly color space implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

hsluv-0.1.0.tbz
sha256=9eb31d2b6881d19a36d5ec41ccd12b146f9b313bbc44abcc24259ab0d73a314a
sha512=c1f444deb8566e18a1b000fec2033c64eaa32606d7c2a990654c6f651946b508fe730f21c64fd3380e1dced6ad374ae8f6700a0f55c193a2e646a3345a9a4e72

doc/index.html

HSLuv

HSLuv is a color space designed to provide a more human-friendly and uniform representation of colors, compared to traditional color spaces like RGB or HSL.

The key feature of HSLuv is its ability to maintain perceived color brightness and contrast uniformly across its hue and saturation range.

HSLuv is particularly useful in applications where color consistency and perceptual uniformity are important, such as in graphical design, data visualization, and user interface development.

You can find more information about HSLuv on the official HSLuv website.

Libraries

hsluv

Module:

  • Hsluv - HSLuv and HPLuv color models as well as other common color spaces like RGB and XYZ, modeled as record types; provides conversion functions between the different color spaces and pretty-printers for all the color types.

hsluv.float_conv

Module:

  • Hsluv_float_conv - convert between the record types of the different color spaces defined in Hsluv and float triple representations
OCaml

Innovation. Community. Security.