I’m pretty comfortable with the transition options offered by things like buttons and toggles in the new UI. But now I’m working on a project where the specific colors for selected and unselected elements are quite specific, and while you’d think this would be simple, I can’t see any way to do it short of rewriting the relevant UI classes (or creating sprites for every combination of color and shape I need).
The “Color Tint” option “tints” the base color of the image. Exactly what that means isn’t defined in the documentation. I thought for a while it was something like: newColor = (baseColor + tintColor * colorMultiplier)/2. But that can’t be, because when base color is black, no amount of tint and multiplier comes out as anything other than black.
So I can’t figure out if there’s any way to switch from, say, blue to orange (or from any arbitrary color 1 to arbitrary color 2). I really wish the “color multiplier” were instead a “color mix” parameter from 0 to 1, where 0 means ignore the tint completely, 1 means ignore the base color and use only the transition color, and 0.5 means mix them equally. But they didn’t implement it that way, alas.
So. Is there some magic combination of colors and multipliers that lets me actually set the specific color I want for each state?