declare protocol on ColorPanelView and wire up view controller as delegate