package hsluv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.