Basic-Widgets

basic.button basic.checkbox basic.colordisc basic.dual basic.flip basic.float basic.formula basic.glue basic.multistate basic.rgb basic.shifter basic.shutter basic.slider basic.switch basic.symbol basic.tank basic.text basic.trigger basic.value


basic.rgb

Displays a rgb-selector

Parameters
{{ basic.rgb(id, item_r, item_g, item_b, min, max, step, colors) }}
id
unique id for this widget
item_r
a item for the r - value (0-255)
item_g
a item for the g - value (0-255)
item_b
a item for the b - value (0-255)
min
the minimum value if the light is off (optional, for future use)
max
the maximum value if the light is full on (optional, default 255)
step
step (for future use)
colors
the number of colors (default 10)
Examples
Select your color! If you have finised the rgb values will be send.
{{ basic.rgb('rgb1', 'bath.color.r', 'bath.color.g', 'bath.color.b') }}

Author: Martin GleiƟ and others

Widgets

Design

Misc