Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions backend-forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -671,9 +671,13 @@ Option | Description

Option | Description
------------- | -------------
**format** | set color format string, available values are hex,rgb,prgb (percentage rgb),hsv,hsl. Default: hex
**showAlpha** | display slider for alpha channel. Default: false
**availableColors** | list of available colors.
**allowEmpty** | allows empty input value. Default: false

Setting `showAlpha` to true force format to rgb if defined format is `hex`.

There are two ways to provide the available colors for the colorpicker. The first method defines the `availableColors` directly as a list of hex color codes in the YAML file:

color:
Expand Down