this post was submitted on 16 Oct 2024
1099 points (99.0% liked)

Comic Strips

12750 readers
3200 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Blue_Morpho@lemmy.world 6 points 1 month ago (1 children)

Cubic color? What do you mean? I've always seen color spaces represented as triangles filling the curve.

[โ€“] dual_sport_dork@lemmy.world 4 points 1 month ago* (last edited 1 month ago)

I don't know if this is what the parent poster was talking about, but color pickers in many programs present you with a cubic representation of their available color space. The default Windows color picker does nowadays as does Corel. Maybe Adobe too, but I haven't used any Adobe software in years so I don't know how they do it now.

Since computer monitors suck at truly displaying three dimensional information ^[citation^ ^needed]^, you're presented with a rectangular slice of a cube. Here's the Corel color picker, for instance:

The X axis is saturation, the Y axis is intensity, and the "depth" or Z axis is hue, which is controlled with the little slider on the bottom. As you move the slider up and down your "viewpoint" of the slice moves up and down through the depth of the cube, essentially representing it in 256 little vertical slices (or however many based on your bits-per-pixel).

Despite being the graphics nerd that I am, I can't tell you off the top of my head how this cubic representation is flawed, although computer monitor color rendition itself is inherently flawed because most color spaces probably can't actually fully represent all the colors that normal human vision is capable of differentiating, but what the hell do I know. Browns and oranges are famously difficult to reproduce with only red, green, and blue, the usual three additive colors available to you. The cube map itself, at least, gives you a spatial method by which to select any of the 16581375 possible RGB values actually possible an 8 bit per pixel format, even if the methodology for presenting them all to the user might not quite make intuitive sense.

You can also do cubic map of only hues, with each axis in the cube corresponding to red, green, or blue, like this one courtesy of Wikipedia: