### Tested versions

v4.2.stable.official [46dc27791]

### System information

Windows 11- Godot v4.2.stable.official [46dc27791] - Vulkan (Forward+)

### Issue description

![image](https://github.com/godotengine/godot/assets/46812028/f57e3f30-b3c4-4a83-8793-64a58bd18220)


### Steps to reproduce

Create a new project and select a color in modulate

### Minimal reproduction project (MRP)

N/A
text_is_constructor = !text_is_constructor;
	if (text_is_constructor) {
		text_type->set_text("");
#ifdef TOOLS_ENABLED
		text_type->set_icon(get_editor_theme_icon(SNAME("Script")));
#endif
		c_text->set_editable(false);
		c_text->set_tooltip_text(RTR("Copy this constructor in a script."));
	} else {
		text_type->set_text("#");
		text_type->set_icon(nullptr);
		c_text->set_editable(true);
		c_text->set_tooltip_text(RTR("Enter a hex code (\"#ff0000\") or named color (\"red\")."));
	}
	_update_color();
}
Color ColorPicker::get_pick_color() const {