Refactored CustomColorPanel