Just use hex; rgb offers nothing compared to hex, apart from more bytes.