Bot releases are hidden (Show)
Published by facelessuser about 1 year ago
HWBish
mixin class.algebra.no_nan()
, algebra.no_nans()
, and algebra.is_nan()
.Published by facelessuser about 1 year ago
-1
for string output, double precision (17
) will be assumed.Published by facelessuser about 1 year ago
harmony
would convert some colors to cylindrical spaces and not properly consider ordera
and b
like coordinates when calling indexes()
, butharmony
.Published by facelessuser about 1 year ago
Regular
mixin class for normal, 3 channel color spaces (sRGB, CMY, RYB, etc.).harmony()
can now accept and transform Labish
and Regular
color spaces to cylindrical spaces.Published by facelessuser about 1 year ago
padding
parameter to limit color scales when interpolating.Published by facelessuser about 1 year ago
discrete()
function that creates a discrete interpolation object.coloraide.algebra.apply
function in favor of new vectorize functions.prismatic
and cmyk
achromatic check logic.Published by facelessuser over 1 year ago
cct()
and blackbody()
API.split_chromaticity()
method which will split a color into its chromaticity and luminance parts.chromaticity()
which will create a new color from a given set of chromaticity coordinates.chromatic_adaptation()
type requirement of white point chromaticity inputs.luminance()
, xy()
, and uv()
all now accept an optional white point via the white
parameter toluminance()
still defaults to D65 but willxy()
and uv()
if white
is set to None
.white()
now accepts a positional parameter allowing it to output the white point of the current color*
was not deregistering Filter
plugins.Published by facelessuser over 1 year ago
Published by facelessuser over 1 year ago
Published by facelessuser over 1 year ago
srgb-linear
.Published by facelessuser over 1 year ago
Published by facelessuser over 1 year ago
Published by facelessuser over 1 year ago
Published by facelessuser over 1 year ago
out_space
.Published by facelessuser over 1 year ago
BREAK: interpolate
, steps
, mix
, filter
, compose
, and harmony
will no longer base the output color on
the first input color. Colors will be evaluated in the specified color space and be output in that space unless
out_space
is used to specify a specific output color space. For migration, specify the desired out_space
if the
working space
does not match the desired output.
BREAK: Achromatic and undefined color channel handling has been rewritten. Color space objects no longer utilize
the normalize()
or achromatic_hue()
method and instead now use a new is_achromatic()
and resolve_channel()
methods.
NEW: Expose the new Color.is_achromatic()
method to tell if colors, even non-cylindrical colors, are achromatic
or reasonably close to achromatic.
NEW: Color channel definitions can specify a non-zero default for an undefined channel. Use resolve_channel()
for more advanced handling.
NEW: CAM16, CAM16 UCS, CAM16 SCD, CAM15 LCD, CAM16 JMh, HCT, Jzazbz, JzCzhz, and IPT all currently require a
dynamic approach to detect achromatic colors. Undefined LCh chroma and hue channels and Lab a and b channels can now
resolve to non-zero values when undefined for better achromatic interpolation.
NEW (ACEScct) will now resolve undefined color channels (non-alpha) with a non-zero default that represents black
as zero is actually out of gamut for that space.
NEW: filter
, compose
, and harmony
all now support the out_space
parameter.
NEW: All <space>ish
mixin classes now give access to normalized names and indexes as names()
and indexes()
opposed to <space>ish_names()
etc. Old methods are still available but are deprecated.
NEW: All RGB, HSL, and HSV color spaces are now created with a respective RGBish
, HSLish
, and HSVish
mixin
class.
NEW: Separable blend modes will now be evaluated in whatever RGB-ish color space is provided.
NEW: compose
will throw an error if a non-RGB-ish color space is provided.
NEW: Color.normalize()
added a new nans
parameter that when set to False
will prevent achromatic hue
normalization and will just force all channels to be defined.
NEW: Color.coords()
and Color.alpha()
, which used to be available during the alpha/beta period have been
re-added. coords()
accesses just the color channels (no alpha channel) while alpha()
gets the alpha channel.
NEW: Coordinate access functions: get()
, set()
, coords()
, and alpha()
functions now have a nans
parameter that when set to False
will ensure the component(s) is returned as a real number instead of NaN. Set
operations only apply this when passing the current value to a callback for relative modification.
NEW: A norm
parameter is now added to convert
and update
. When set to False
, it will prevent achromatic
normalization of hues during conversion. If no conversion is needed, the color is returned as is.
NEW: ColorAide used to gamut map colors such as HSL, HSV, and HWB when interpolating into those spaces. This is no
longer done. It is possible to gamut map wider gamuts with these color spaces, so it will be up to the user to apply
gamut mapping when it is determined they need it.
NEW: EXTENDED_RANGE
is no longer needed and is removed from current color space classes.
NEW: Improved accuracy for Oklab, OkLCh, Okhsl, and Okhsv.
NEW: New "continuous" interpolation method.
FIX: Fix aliases in IPT and IgPgTg.
FIX: Fix some conversion issues with CAM16 based color spaces that was caused due to bad achromatic handling.
Published by facelessuser over 1 year ago
Published by facelessuser over 1 year ago
Published by facelessuser over 1 year ago
hsl()
hwb()
formats respectively will resolve to numbers in the range [0, 100]. These changes reflect the latestcolor(srgb 1-0.5.4)
should parse as color(srgb 1 -0.5 0.4)
.COLOR_FORMAT
is respected.Published by facelessuser over 1 year ago
a
and b
components.comma
and none
are enabled it could make undefined alpha values show up as none
in legacy CSSPublished by facelessuser over 1 year ago
cam16
and cam16-jmh
respectively.cam16-ucs
, cam16-scd
, and cam16-lcd
.hct
) which combines the colorfulness and hue from CAM16 JMh and thefit_lch_chroma
can set DE_OPTIONS
to pass ∆E parameters.achromatic_hue()
which willrec2100-hlg
transform.