- **NEW**: Use D65 and D50 white points as specified in CSS spec, but limited to 4 decimals as everyone else seems to do. Other white points were also adjusted as outlined in CIE 2004 Colorimetry T.3 and T.8. - **FIX**: When converting, ensure that `NaN`s are converted to normal numbers.
0.1.0a25
- **NEW**: Add `luv` and `lchuv` color space using a `D50` illuminant. - **NEW**: Add `din99o` and `din99o-lch` color space using a `D65` illuminant and associated Delta E~99o~ distance algorithm. - **NEW**: Make it easier to add additional Delta E methods and gamut mapping methods to a custom `Color()` class. - **NEW**: Add new Delta E~z~ algorithm (Jzazbz). - **NEW**: Add new Delta E~hyab~ algorithm for any Lab-ish style color spaces. - **NEW**: Expose `delta_e_<type>` methods dynamically depending on what Delta E methods are currently available. - **FIX**: Consistent calculation of achromatic thresholds across all Lch-ish color spaces.
0.1.0a24
- **NEW**: `color()` function locks accepted to channels to the number of actual channels. - **NEW**: All `color()` function implementations for color spaces that do not formally support such notation in the current CSS spec now use the custom identifier notation `--name`. For instance, HSL, which does not support the `color()` format in the CSS spec, is now specified via: `color(--hsl h s l / a)`. - **NEW**: Channels that do not support percentages will no longer be accepted in the `color()` form. For instance, according to the CSS spec, XYZ color space does not allow percentages in the `color()` format. ColorAide will no longer allow such notation in order to conform to the spec. `color(--lab)` will still support percentages for `l` as it did prior to removal from the spec. All other percentage only channels will also still be supported. - **NEW**: Internal restructuring of some files and file locations.
0.1.0a23
- **FIX**: Faster precision adjustment.
0.1.0a22
- **FIX**: Don't have sRGB fail gamut check due to HSL having extreme numbers. If sRGB is within tolerance range, it should pass. Instead, HSL, HSV, and HWB will all be checked to see if they are within the sRGB gamut as they are just representations of sRGB, but they will also have the tolerance checked against their own coordinates to help catch values that are way out of bounds but still yield values within the sRGB tolerance range. - **FIX**: Improve gamut mapping a bit more.
0.1.0a21
- **NEW**: Refactor CAT to allow for other CAT methods: `von-kries`, `xyz-scaling`, `cat02`, `cmccat97`, `cmccat2000`, and `sharp`. Currently, `bradford` is the default and the overall preferred option. - **FIX**: Fix issues gamut mapping algorithm.