farg 0.4.5

A Rust library for colorimetry, color space conversions, and color manipulation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Color Vision Deficiency (CVD) simulation.
//!
//! Simulates how colors appear to individuals with various forms of color blindness.
//! Three algorithms are available, each offering different trade-offs between accuracy
//! and performance.
//!
//! All algorithms accept any color type convertible to [`Xyz`](crate::space::Xyz) and return
//! an [`Xyz`](crate::space::Xyz) value representing the simulated color.

#[cfg(feature = "cvd-brettel")]
pub mod brettel;
#[cfg(feature = "cvd-machado")]
pub mod machado;
#[cfg(feature = "cvd-vienot")]
pub mod vienot;