closed #3945 Refactor cc.color constant