Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes Color to hexa Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Color to hexa" Watch "Color to hexa" New topic
Author

Color to hexa

Frederico Zapelini
Greenhorn

Joined: Jun 02, 2004
Posts: 3
Does anybody knows a method that recives a color and return a hexadecimal representation of this color?
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Brian Pipa
Ranch Hand

Joined: Sep 29, 2003
Posts: 299
I found this in one of my classes. Not sure where I got it:

[ June 08, 2004: Message edited by: Brian Pipa ]

My Java Freeware:<br />MACCC - <a href="http://maccc.pipasoft.com" target="_blank" rel="nofollow">http://maccc.pipasoft.com</a><br />Nator - <a href="http://nator.pipasoft.com" target="_blank" rel="nofollow">http://nator.pipasoft.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Color to hexa