### Godot version

v4.3.dev.custom_build [d76c1d0e5]

### System information

Linux

### Issue description

When opening the color picker by clicking on a color property the color changes slightly.

### Steps to reproduce

* Click on a property with value `Color(.5, .5, .5) ` in the inspector
* Click away
* Open the color picker again
* See the color change to Color(0.502, 0.502, 0.502) in the "RAW" tab

### Minimal reproduction project

[ColorChangeBug.zip](https://github.com/godotengine/godot/files/13545089/ColorChangeBug.zip)

add_preset(color);
	emit_signal(SNAME("preset_added"), color);
}
void ColorPicker::_pick_button_pressed() {
	is_picking_color = true;
	set_process_internal(true);
	if (!picker_window) {
		picker_window = memnew(Popup);
		picker_window->set_size(Vector2i(1, 1));
		picker_window->connect("visibility_changed", callable_mp(this, &ColorPicker::_pick_finished));
		add_child(picker_window, false, INTERNAL_MODE_FRONT);
	}
	picker_window->popup();
}
void ColorPicker::_pick_finished() {
	if (picker_window->is_visible()) {
		return;
	}
	if (Input::get_singleton()->is_key_pressed(Key::ESCAPE)) {
		set_pick_color(old_color);
	} else {
		emit_signal(SNAME("color_changed"), color);
	}
	is_picking_color = false;
	set_process_internal(false);
	picker_window->hide();
}
void ColorPicker::_pick_button_pressed_legacy() {