# Color Component The `color.hpp` header provides two classes for performing color management, interpolation, and conversion - `espp::Rgb` and `espp::Hsv` which can be converted between each other. The RGB color space provides support for additive blending (which includes averaging, as opposed to light-model-based mixing) and is therefore suited for producing gradients. The classes provided are: * `espp::Rgb` * `espp::Hsv` Please see `Computer Graphics and Geometric Modeling: Implementation and Algorithms <https://isidore.co/calibre/browse/book/5588>`_, specifically section 8.6 for more information. ## Example The [example](./example) shows how to use the various classes exposed in the `color` component to manipulate and convert between color data.
idf.py add-dependency "espp/color^0.21.0"