### 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)

ERR_FAIL_INDEX(p_mode, MODE_MAX);
	if (current_mode == p_mode) {
		return;
	}
	if (slider_theme_modified) {
		_reset_sliders_theme();
	}
	mode_popup->set_item_checked(current_mode, false);
	mode_popup->set_item_checked(p_mode, true);
	if (p_mode < MODE_BUTTON_COUNT) {
		mode_btns[p_mode]->set_pressed(true);
	} else if (current_mode < MODE_BUTTON_COUNT) {
		mode_btns[current_mode]->set_pressed(false);
	}
	current_mode = p_mode;
#ifdef TOOLS_ENABLED
	if (editor_settings) {
		editor_settings->call(SNAME("set_project_metadata"), "color_picker", "color_mode", current_mode);
	}
#endif
	if (!is_inside_tree()) {
		return;
	}
	_update_controls();
	_update_color();
}
ColorPicker::ColorModeType ColorPicker::get_color_mode() const {