accepted/color-4-new-spaces-js.changes.md
Change SassColor.toGamut() to take named parameters instead of positional.
Add a mandatory method parameter to SassColor.toGamut().
Simplify the type definition for interpolate, and make options argument
optional.
Fix typo in changedValue definition of color.change.
red, blue, etc.) convert
color to a legacy space before returning channel value.In change, adjust algorithm for differentiating hwb from hsl when only
hue and no space is specified.
In change for legacy colors, emit a color-4-api warning if a non-alpha
channel is explicitly null and no space is set.
In procedure for Changing a Component Value, specify that undefined values
should return the initialValue.
toSpace uses Converting a Color algorithm instead of color.to-space() to
avoid removing missing channels when converting to a legacy space.
In change and constructors, throw an error for alpha and lightness values
that are out of range.
Rename new Embedded Protocol message from SassColor to Color.
Make color2 a positional parameter of interpolate, not an option.
Add rec2020 color space.
Add "alpha" to all channel name types.
Remove isAlphaMissing in favor of isChannelMissing("alpha").
Rename types using title-case for acronyms longer than two letters in
camel-case identifiers (e.g. ColorSpaceHsl instead of ColorSpaceHSL).
Remove generic change overload, and make space optional on others.
Return immutable types for channels and channelsOrNull, and remove
assumption of 3 channels.
Clarify values in channels and channelsOrNull.
Throw an error if construction space can not be determined.
Remove alpha from list of deprecated getters.
Rename types: ColorSpaceLAB to ColorSpaceLab, ChannelNameLAB to
ChannelNameLab.
Use Exclude<> instead of Omit<> for union types.
Make procedure for determining space backwards compatible when using change
for legacy colors.
Fix channel names for change with oklch and lch.