Skip to content

color_picker

pdwidgets.widgets.color_picker

ColorPicker — compact RGB565 hue + SV picker.

ColorPicker(parent, x=0, y=0, w=None, h=None, align=None, align_to=None, fg=None, bg=None, visible=True, value=None, padding=None)

Bases: Widget

RGB565 color picker with hue strip and saturation/value region.

Compact picker: hue strip + SV region. value is a color565 int.

draw(_=None)

Draw the hue strip and saturation/value region.