I’m trying to convert the hex code that Gdk::Color.to_s() returns into
HTML Format Hex. I think what needs to be done is some math on the
string, but I’m fairly new to ruby and not sure how to do this. For
instance, if the color in HTML hex is a six string code, #ffffff, then
Gdk::Color would return #ffffffffffff.
Here is an example of how to do it in C, but I’m not sure how to
translate that to ruby.
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what’s new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what’s new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
Internet Explorer 8 - accelerate your Hotmail. Download Internet
Explorer 8
Celebrate a decade of Messenger with free winks, emoticons, display
pics, and more. Get Them Now