Is there any relationship between a color's complementary color and the complement of its RGB hex code?
For example:
BLUE's complementary color is ORANGE
~ 0x0000FF = 0xFFFF00
>>7921147
15-n=c
N (digit of the original color)
C (digit of the complementary color)
>>7921155
Yes, I know how to take the complement of a color code, but BLUE's complement in hex is YELLOW and BLUE's complementary color on the color wheel is ORANGE.
>>7921160
You're using RYB complementary colors but trying to understand what that means in hex color codes which are RGB. You're using two incompatible color systems
>>7921183
FUUUUCK thanks for pointing that out
my mistake
>>7921189
actually, hold on a sec, it might still be possible to convert. If you think about color as 3-dimensional vectors there's a chance then you could say that there's a matrix conversion between them.
Let me think for a minute and I'll get back to you
>>7921202
it would be handy to convert between color systems in a way that's computationally efficient
>>7921218
There is a solution but sadly I don't know the requisite linear algebra to figure it out. Basically you've got three unit vectors
Red = [1, 0, 0]
Yellow = [sqrt(1/2), sqrt(1/2), 0]
Blue = [0, 0, 1]
You need to find a transformation from the standard 3-vector space
How can yellow be primary if it's a result of red and green wavelengths together?
>>7922870
It's a primary subtractive color, which green is not. Has to do with absorption or something.
>>7921286
Why would that work..?
>>7922870
Don't confuse light and ink/paint color mixing...
>>7921147
only cie*lab is an accurate color representation
rest is already simplified for commodity reasons