I have a php script that pulls data from a database, I donload said page via sockets,

#FFFFFF¿#63659C is on the end of said line for each dj this varies

Now, I can convert the html colors on the end to RGB, was just wondering if theres a remote chance of showing those to users in irc, they are the dj's schedule colors, Im guessing not but figured Id ask anyways.
I know I can do
$rgb($base($remove(#FFFFFF,$chr(35)),16,10))
Which returns 255,255,255
Was just curious how A: I can make that turn to white
and B: Make a representation of say 00FFFF