Added support for RGB hex values in integer form (eg. 0xFFFFFF).