Hello,
You may need to add something like this:
<BackgroundColor
jcr:primaryType="nt:unstructured"
sling:resourceType=" /libs/granite/ui/components/coral/foundation/form/colorfield"
classicPaletteType="{Boolean}true"
editType="{Boolean}true"
fieldLabel="Background Color"
name="./BackgroundColor"/>