mdodge2000
Technical User
I have a bunch of cookie cutter type website where I specify most of the look and feel parameters in a database. One of the parameters is button color.
What I would like to do is specify one color, the background color, for the button and have the left and top border color values be calculated as a certain percentage lighter than the background color and the right and bottom border color values be calculated as a certain percentage darker than the background color.
Has anyone ever written or seen any code that will perform these hex calculations?
Thanks in advance,
Mike
What I would like to do is specify one color, the background color, for the button and have the left and top border color values be calculated as a certain percentage lighter than the background color and the right and bottom border color values be calculated as a certain percentage darker than the background color.
Has anyone ever written or seen any code that will perform these hex calculations?
Thanks in advance,
Mike