void (Color color, Object source) { if (color != null && !color.equals(myColor)) { myColor = color; applyColor(color); if (source != myHex) { applyColorToHEX(color); } myPreviewComponent.setColor(color); fireColorChanged(color); } }