bootstack.dialogs.ColorChoice#
- class bootstack.dialogs.ColorChoice(rgb, hsl, hex)#
Bases:
NamedTupleA color selected from
ColorChooserDialogorask_color.- hsl: Tuple[int, int, int]#
The color as an
(h, s, l)tuple — hue 0–360, saturation and luminance 0–100.
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.