Below are notable properties for color fields that are both applicable in UI Toolkit and IMGUI frameworks.
You can use the eyedropper button to pick color values from anywhere on the screen.
To pick a color, click the eyedropper button next to a color property, then click anywhere on the screen. Unity sets the color property to the color of the pixel you clicked.
You can save the colors you set in reusable swatch libraries that you can share between projects.
Click the color swatch field to open a standard or a High Dynamic Range (HDR) color picker, depending on the context.
For example, Unity displays the HDR Color Picker window when you edit the emission color property in the standard shader.
A color field consists of the following parts:
Idle state of a color field.
When hovered, color field borders are highlighted.
When color picking with the eyedropper button, color field borders are highlighted in blue.
When the color swatch field is clicked, the color field will display Color Picker Modal.
UI Toolkit
Makes a field for selecting a color in UIT.
IMGUI
Makes a field for selecting a color in IMGUI.