$colorField->format()
$colorField->format(): 'hex'|'hsl'|'rgb'
Return types
'hex'or'hsl'or'rgb'
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
If the format is not supported |
$colorField->format(): 'hex'|'hsl'|'rgb'
'hex'or'hsl'or'rgb'
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
If the format is not supported |