| 13 | /// - Alpha - a number between 0.0 and 100.0 |
| 14 | #[derive(Debug, Clone, Copy, PartialEq)] |
| 15 | pub struct Lab { |
| 16 | pub lightness: f64, |
| 17 | pub a: f64, |
| 18 | pub b: f64, |
| 19 | pub alpha: f32, |
| 20 | } |
| 21 | |
| 22 | impl Lab { |
| 23 | pub fn new(lightness: f64, a: f64, b: f64, alpha: f32) -> Self { |
no outgoing calls