You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the color spec defines equality as just each component being fuzzy-equal to one another. This implies that lch(50% 50% none) == lch(50% 50% 0deg), since we say missing channels are treated as 0 anywhere they aren't mentioned explicitly. Is that desirable behavior? Or should we have a special carve-out for missing channels that makes them only equal to other missing channels?
The text was updated successfully, but these errors were encountered:
We could potentially add (in a future change) a color.visual-equals() function which returns true if two colors will look the same on all displays (essentially, if they're equal in XYZ space).
Currently, the color spec defines equality as just each component being fuzzy-equal to one another. This implies that
lch(50% 50% none) == lch(50% 50% 0deg)
, since we say missing channels are treated as 0 anywhere they aren't mentioned explicitly. Is that desirable behavior? Or should we have a special carve-out for missing channels that makes them only equal to other missing channels?The text was updated successfully, but these errors were encountered: