better rgb handling in CColor