Keep same colors algorithm
Posted on 2004-10-11
I have for my button a color Color1 ( ex: $005200A4 ) . For border Color2 ( ex.$0036006C) and Color3 ( ex: $009428FF ).
The color2 is a dark Color1 and Color3 is the light Color1.
I wish to get instantly Color2/Color3 when change Color1 to have omolog dark/light color for the new Color1. Same darkness/lightness scale.
How to do that?