Releases: facelessuser/coloraide
Releases · facelessuser/coloraide
0.1.0a13
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 was0
. - 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
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 whenL
is very small, while the equivalent(V - L) / min(L, 1 - L)
is not.
0.1.0a11
0.1.0a11
- FIX: Ensure that when
hex
,compress
, andnames
is enabled into_string
forsrgb
that colors will still match the color name if the color can be compressed.
0.1.0a9
0.1.0a9
- FIX: Ensure all cases, in regards to gamut mapping, are done the same.
0.1.0a10
0.10a10
- FIX: Address two divide by zero cases in HSL algorithm. Was missing some special cases when luminance equals
1
or0
.
0.1.0a8
0.1.0a8
- NEW: Remove workaround to force cylindrical colors to overlay in non-cylindrical spaces. Allow colors to be overlaid in any color space. Original issues related to allowing cylindrical spaces as been fixed. Overlaying in cylindrical spaces may not make sense, but it is no longer prohibited.
- FIX: Ensure color comparison will yield true if two channels have
NaN
.
0.1.0a7
0.1.0a7
- FIX: Fix issue with translation of an input that is compressed hex with a specified alpha.
0.1.0a6
0.1.0a6
- FIX: Don't return detached color spaces from
steps
. Ensure they are wrapped with aColor
object on return.
0.1.0a5
0.1.0a5
- FIX: Fix an issue where
update
can fail due to a color space detached from a parent. - FIX: Adjust fit tolerance to be a little more forgiving, but make an adjustment for
in_gmaut
in relation to
HSL
assaturation
can be wildly out of range for ansRGB
color that is only slightly out of gamut. - FIX: Ensure
in_gamut
handlesNaN
properly.
0.1.0a4
0.1.0a4
- NEW: Use
NaN
to track undefined hues. - NEW: Remove
is_hue_null
and add new API functionis_nan
to test if any channel is currently set toNaN
. - NEW: Remove
get_default
from theColor
class and instead allow properties that can be overridden when
subclassing theColor
object.