issue #3945: Refactor basic data structures about cc.color. (1)