The Color field allows content writers to select a color through a variety of color pickers as well as having the option to manually input a hex color value.
Configuration
Assign the Color field a Field name that will display in the entry editor and an API ID.
JSON Editor
The following allows you to select a color:
"color": {
"type": "Color",
"config": {
"label": "Color"
}
}
JSON Reference
"type": (string, required) Value must equal "Color"
"config": (object, optional) Options listed below
config
"label": (string) Sets the label that shows up for the field in the entry editor