A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/issues/8576 below:

[css-values-4][css-color] Addition of `<color>` is way underspecified. · Issue #8576 · w3c/csswg-drafts · GitHub

It probably doesn't help that I don't really understand why one would want to add <color>s (as opposed to, say, adding lengths which is obviously useful in an animation or transition). That said, this sentence in V&U4 on Combination of <color> seems underspecified:

Addition of <color> is likewise defined as the independent addition of each component as a <number> in premultiplied space.)

The color space in which addition happens is unspecified. It sounds like this text was written when <color> was always an sRGB value so you add the red, green and blue components.

--one: color(display-p3 0.3 0.6 0.2 / 0.5);
--two: oklch(0.5 0.2 140);

What happens when I add --one and --two, and why.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3