Page 1 of 1

Color space general

Posted: Sat May 04, 2024 2:41 am
by miles
General discussion thread for color spaces. all fans of lab/lch, oklab/oklch, hsl/v, srgb/linear rgb, YCbCr, and even xyz are welcome. Feel free to ask questions about color spaces or share cool color space related info, implementations, art studies, or anything else.
getreal.gif
getreal.gif (111.69 KiB) Viewed 2600 times

I made a browser based painting program that works in LAB color space.
I'm also working on a webpage explaining LAB and RGB with graphics and too many words, but it's still under construction.

random stuff:
Youtube video of oklab visualized in minecraft, very approachable video that explains both rgb and oklab
XYZ color space visualization
Color space conversion code (for the spaces supported by CSS)

Re: Color space general

Posted: Mon May 06, 2024 7:42 pm
by Steakinthedaylight
What about cmyk? It's for printing if I'm correct (i should know this i do graphic design :') ) but I notice it tends to look very drab on digital screens

Re: Color space general

Posted: Wed May 08, 2024 3:10 am
by miles
Steakinthedaylight wrote: Mon May 06, 2024 7:42 pm
Yeah, it's for printing since the standard ink colors are cyan, magenta, yellow, and black. (The K stands for "key" and refers to the black ink but idk why it's called that..)

When you're designing or illustrating something for printed media you need to keep in mind that very bright colors will get dulled. Greens and cyans can get much brighter digitally than with ink. A lot of programs will have a CMYK proofing mode where it attempts to keep the colors in a more accurate range which is what you're describing. I don't make printed media so I don't work with it, but I've heard that photoshop's CMYK mode isn't very accurate and makes the canvas too washed out.

image.png
image.png (154.54 KiB) Viewed 2588 times

This is how krita handles the CMYK *space*, which both attempts to limit the color gamut to an ink-based range, and also stores the 4 color channel values per pixel. (I say *space* because you can also use CMYK for softproofing, which only changes the way the canvas is displayed to you and the pixels still keep their original RGB values).

One interesting thing with it is since blackness is it's own color channel, a pixel can appear to be pure black but also be pure yellow/cyan etc. The circles on top were all "black", and I applied a white gradient on top to reveal their color.

In the 2nd row I was seeing how mixing the primaries looks, and on the bottom two I'm mixing the primaries on top of key black, and then 100% black (every channel is maxed out). Overall this space looks pretty ugly in Krita. I wouldn't use this for digital illustration, but maybe it's good for something else. Again, I don't print, so I have no idea if this would be useful for that or not, or if it would just be better to use the CMYK softproofer.

Re: Color space general

Posted: Tue Oct 08, 2024 7:21 am
by miles
Krita has a way better LAB color selector now, in the Wide Gamut Color Selector docker:

image.png
image.png (16.58 KiB) Viewed 595 times

You will have to manually select LAB as its color space in its settings (from the hamburger button)

image.png
image.png (13.92 KiB) Viewed 595 times

(the only way to select LAB colors previously was by making a palette or by using 3-channel sliders only)