ColorPicker_v2 Op
There is a newer version of this op!
This version will not receive any updates. It is recommended to use a newer version.
Current version: Ops.Sidebar.ColorPicker_v3
Shows a color-picker in the sidebar
Summary (oneliner)
Full Name
- Ops.Sidebar.ColorPicker_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Sidebar Color-Picker / OneMinus Example
Shows how to use the sidebar Ops.Sidebar.ColorPicker op to control the patch background color. The color components (red / green / blue) are then inverted (with the Ops.Math.OneMinus op) to create the complementary color, which is used as the fill color of the circle.
INPUT PORTS
Link (Object)
Either a link to the sidebar or sidebar group
Text (String)
The label text
Input Red (Number)
Input Green (Number)
Input Blue (Number)
Set Default (Trigger)
OUTPUT PORTS
Children (Object)
Here you can connect other sidebar ops
Red (Number)
The red amount from the color picker, in range [0..1]
Green (Number)
The green amount from the color picker, in range [0..1]
Blue (Number)
The blue amount from the color picker, in range [0..1]
Hex (String)