Color space general

Intelligent discourse happens here. Bring your sharpest ideas to the table and we'll see who wins the battles of wits
Post Reply
User avatar
miles
 

Posts: 123
Joined: Mon Dec 19, 2022 12:30 am
Mastodon: https://den.den.nohost.me/@miles
Contact:

Color space general

Post 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 2593 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)
Image

- "I'm A Cyan Kinda Guy"
"Follow the rules. Or face the banhammer"
-- Webmaster Miles
User avatar
Steakinthedaylight
 

Posts: 11
Joined: Mon Apr 29, 2024 4:37 am
Mastodon: https://denden.world/@bakersteak

Re: Color space general

Post 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
User avatar
miles
 

Posts: 123
Joined: Mon Dec 19, 2022 12:30 am
Mastodon: https://den.den.nohost.me/@miles
Contact:

Re: Color space general

Post 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 2581 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.
Attachments
image.png
image.png (145.28 KiB) Viewed 2581 times
Image

- "I'm A Cyan Kinda Guy"
"Follow the rules. Or face the banhammer"
-- Webmaster Miles
User avatar
miles
 

Posts: 123
Joined: Mon Dec 19, 2022 12:30 am
Mastodon: https://den.den.nohost.me/@miles
Contact:

Re: Color space general

Post 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 588 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 588 times

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

- "I'm A Cyan Kinda Guy"
"Follow the rules. Or face the banhammer"
-- Webmaster Miles
Post Reply