Fixed some name conflicts in the rgb class.