News for hackers. Stuff that matters.
Re:Practical Color Theory for People Who Code (2016) by OscarCunningham on Tuesday February 23, 2021 @03:31AM (#26235042)
There's also a model of 'psychological primaries' under which the complements are Red/Green and Yellow/Blue.

https://en.wikipedia.org/wiki/Primary_color#Psychological_pr...

Re:Practical Color Theory for People Who Code (2016) by Daub on Tuesday February 23, 2021 @04:26AM (#26235352)
Primaries are only tangently related to complementary colors. Sure, it is commonly said that every RYB complementary pair is also a primary/secondary pair.

But complicating this is that primaries can be defined in many ways.

Any primary set expresses indivisibility. The psychological primaries set is: black, white, red, green, yellow, blue. To me this seems wonderfully commonsensical. No matter that in RYB space, black can be expressed as a mix of red, yellow and blue in equal proportion. For me, black is black. Full stop. However, these primaries have limited utility in design.

The RYB primaries started life exactly as utilitarian tools for painters. From this set, all other colors can be defined (so long as one had a warm/cool pair of each primary).

Re:Practical Color Theory for People Who Code (2016) by dfranke on Tuesday February 23, 2021 @11:07AM (#26238910)
The CIECAM02 and CAM16 color models include a "hue quadrature" correlate from which "redness/greenness" and "yellowness/blueness" can be calculated. I find changing the hue quadrature by 200 (which flips the signs on the latter two quantities) gives results that match my own perception of "complementary" pretty well.
Re:Practical Color Theory for People Who Code (2016) by Daub on Wednesday February 24, 2021 @09:59AM (#26250538)
I will look into this. Sounds intriguing.