Display hex color value inside object field

Is it possible to display the hex color value next to the square inside an object field, similarly to how it is displayed in a color field?

Screenshot 2024-07-05 at 10.30.36
This is how the object field currently previews color values (without the hex value).

I would like to have the hex value visible next to the square inside the object field to be able to quickly see if the correct color is set. Is there a setting for this?

Thanks!

Welcome to the forum @wessel.

I assume that the object field takes the same previews as the structure field. So you might be able to overwrite the one used for the core color field.