ColorPicker API#
Bases: AnyWidget
Simple color picker syncing a #RRGGBB hex value back to Python.
Examples:
Create a ColorPicker widget.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
color
|
Optional[str]
|
Optional starting hex color (e.g. |
None
|
**kwargs
|
Any
|
Forwarded to |
{}
|
Source code in wigglystuff/color_picker.py
Synced traitlets#
| Traitlet | Type | Notes |
|---|---|---|
color |
str |
Hex color string (e.g., #ff00aa). |