Trait ColorSpace
tincture
pub trait ColorSpace { pub const BLACK: Self; pub const WHITE: Self; pub fn in_bounds(self) -> bool; }
A color space.
pub const BLACK: Self
The color ‘black’.
pub const WHITE: Self
The color ‘white’.
pub fn in_bounds(self) -> bool
Checks if the color is in bounds.
impl ColorSpace for LinearRgb
impl ColorSpace for Oklab
impl ColorSpace for Oklch
impl ColorSpace for Srgb
impl ColorSpace for Xyz