Coloraide

Latest version: v4.2.1

Safety actively analyzes 707607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 19

0.1.0a14

- **NEW**: sRGB string output parameter `hex_upper` has been renamed to just `upper`. Expose it in documentation as well.

0.1.0a13

- **FIX**: More efficient calculation of CIELAB, following CIE 15.3:2004. Results are still the same, but it makes the math a little simpler.
- **FIX**: HSV did not always set hue to `NaN` when saturation was `0`.
- **FIX**: Give better conversion results by having HWB colors pass through HSV instead of sRGB.
- **FIX**: Fix slight issue with REC.2020 and ProPhoto color space conversion. Small issue when using `<=` when `<` was desired.

0.1.0a12

- **FIX**: More stable saturation calculation for HSL to ensure divide by zero doesn't occur. `2(V - L) / (1 - abs(2 * L - 1))` is likely to yield zero in the denominator when `L` is very small, while the equivalent `(V - L) / min(L, 1 - L)` is not.

0.1.0a11

- **FIX**: Ensure that when `hex`, `compress`, and `names` is enabled in `to_string` for `srgb` that colors will still match the color name if the color can be compressed.

0.1.0a10

0.1.0a9

- **FIX**: Ensure all cases, in regards to gamut mapping, are done the same.

Page 17 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.