Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CaliOn2 opened this issue Feb 3, 2025 · 1 comment
Closed

Comments

@CaliOn2
Copy link

CaliOn2 commented Feb 3, 2025

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

@svgeesus
Copy link
Contributor

svgeesus commented Feb 3, 2025

@svgeesus svgeesus closed this as completed Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants