File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Color to hexa" Watch "Color to hexa" New topic

Color to hexa

Frederico Zapelini

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="" target="_blank" rel="nofollow"></a><br />Nator - <a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Color to hexa
It's not a secret anymore!