[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Is there some type of hex codes to rgb converter or something?



#abc -> #aabbcc -> (0xaa, 0xbb, 0xcc)

--Noah

On Sep 10, 2007, at 7:08 PM, Lamonte Harris wrote:

I like using HTML hex, is there a library or something on pygame or python it self to convert hex to rgb