I just recently decided to make the Swift app I am working on Dark Mode compatible.
And as far as those standard colors I was using, the conversion was fairly straight forward.
However, previous to this decision, I had created what I thought was a very nice “theme” based on gradients of blues and grays. This looks fine in light mode where tables and such are white. But looks totally wrong when tables and such are black.
So, is there some Magic, a method or some Math that can be used to take an RGB color value that would be used in Light Mode, and determine what a “best” color might be for Dark mode? I have examined all the Apple defined pairs, and can’t find a mathematical relationship, if there is one.