const-css-color 0.1.1

Css color parser at compile time
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::fmt::{Debug, Formatter};

mod luma32;

/// A color in the luma color space.
#[derive(Clone, Copy, PartialEq, PartialOrd)]
pub struct LUMA32 {
    ///
    pub l: f32,
    ///
    pub u: f32,
    ///
    pub m: f32,
    ///
    pub a: f32,
}