Gradient Buttons and HSL

For future reference, James Tauber has a very useful article on using the HSL color scheme to create shiny gradient buttons.  It’s worth knowing that in Java HSL is actually called HSB (brightness instead of luminosity) and there are various methods on the java.awt.Color class for converting between HSB and RGB as well as creating color objects directly from HSB.

 The Results Are Cool!

Leave a Reply

(Valid OpenIDs will skip moderation)

Alternatively, subscribe to the Atom feed.