[csswg-drafts] [CSS-Color-4] Proposal: adding subtractive (color-based) color spaces (#11635)

CaliOn2 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [CSS-Color-4] Proposal: adding subtractive (color-based) color spaces ==
## Problem:

In the CSS web standard color spaces seek to do blending uniformly or with light. This approach proves effective for designs where the color transitions are influenced by light-based phenomena, such as digital gradients or web-based imagery. However, the current methods overlook the substantial potential offered by incorporating a color space  that more accurately simulates the interaction of pigments.
This leaves a significant gap when designers wish to create digital experiences that reflect the real-world behavior of physical media, such as paint or ink. These traditional materials are governed by subtractive color mixing, which behaves differently from color spaces such as oklab or srgb currently used for color interpolation. Without a more accurate pigment-based model, web design is limited to light-based and uniform effects, which do not provide a simulation of real-world pigment mixing.

## Goal:

Add a new color space to the CSS specification that simulates the subtractive nature of pigment mixing. This would allow for more realistic transitions in web designs when dealing with visual representations of paint. By introducing a pigment-style interpolation method, designers would be able to create transitions accurately reflecting how colors blend when they are mixed through physical pigments.

This enhancement could unlock a range of new creative possibilities where pigment behavior is involved,
enriching the visual expression of the web.

## Notes

I've thought maybe something like this: 
"https://github.com/scrtwpns/mixbox", "https://scrtwpns.com/mixbox.pdf" which is based on the Kubelka–Munk (k-m) model

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11635 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 3 February 2025 11:55:21 UTC