@Override
	public void setValue(Object value) {
		if (colorChooser != null) {
			colorChooser.setColor((Color) value);
		}
		if (!Objects.equals(value, getValue())) {
			super.setValue(value);
		}
	}
Property Editor for Colors. Uses a {@link GhidraColorChooser} as its custom component
Ghidra/Framework/Docking/src/main/java/docking/options/editor/ColorPropertyEditor.java