(Object, Component<BasicColour>). Functional and minimalistic colour input.
Note. ‘Returns:’ refers to what the Component value returns when exported to its .variable
binding.
<component_key>: (Object, Component<BasicColour>)
- Inherits from Component.
- name: (String, Localisation) - Optional.
- placeholder: (Array<number, number, number>/String, Localisation) - Optional. If it is a string, it resolves to that colour (i.e. ‘hex’/'rgb'/'rgba'.
- has_opacity: (Number) - Optional. Whether the colour input should allow for opacity. True by default.
- Returns: (Array<number, number, number, number>)