codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Color representation as rgb, int and hex


Eko palypse wrote:
> I thought a method called fromhex would imply that bytes for an integer
> should be created

Why should it imply that? You're asking it to create some bytes
from a string of hex digits -- no mention of integers. The obvious
thing to do is to put the bytes in the order they apper in the
string.

-- 
Greg