I wrote a little app that did that for turning a color palette into a
full set of needed colors (alternating row background, different
button states, etc), but it was at my last job and I don't have the
code anymore.  Wasn't that hard to do if you can't find anything.
Convert the RGB into HSV, and then you can tweak the components as
needed (H and S in this case), and then convert back to RGB.  The
conversions are simple - there are all kinds of examples online.

Actually, I think I've got the hsv to rgb converter in another app.
Let me see if I can find that.  Not the whole thing, but get you
started if you can't find anything else.

cheers,
barneyb

On Thu, Jan 15, 2009 at 2:21 PM, Andy Matthews <[email protected]> wrote:
> Does anyone have a CFC which will return a tint of a specified hex color?
>
> In other words I provide a dark blue, and get the hex color for a little 
> lighter blue, or darker blue.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318026
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to