Something went wrong. Try again.
Something went wrong. Try again.
Add `serde` feature for color space serialization
Add optional `serde` dependency with `Serialize` and `Deserialize` implementations on `Component` and all 22 color spaces. Alpha is omitted from serialization when opaque (1.0) and defaults to 1.0 on deserialization when absent. The feature is included in `full`. - Custom `Serialize`/`Deserialize` impls on `Component` to serialize as a bare `f64` - Custom impls on `Rgb` and cylindrical/subtractive spaces to handle generic type parameters and non-serializable fields - Derive-based impls on CIE, perceptual, and physiological spaces - Integration tests covering roundtrip, alpha handling, and field names for `Xyz`, `Rgb`, `Lms`, `Lab`, `Oklch`, `Hsl`, and `Cmyk`
Author Date (Feb 19, 2026, 2:49 PM UTC) Commit
Copy SHA
Parent aacb4946 aacb49468dce4c4cb188af7f9b39da31eaea6819 Change ID Copy change ID