Support for more color formats
Open
component: type/value stuff
status: discussion
type-feature
- Dominant language
- Python
- Stars
- 521
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 35
Description
Right now, the values of a `param.Color` parameter may only be specified in hex format. In addition, it would be nice to allow:
- css [named colors](https://www.w3schools.com/colors/colors_names.asp) (e.g. `"red"`, `"crimson"`, `"pink"`)
- rgb(a), hsl(a) (e.g. `"rgb(128, 128, 64)"`): See https://www.w3schools.com/cssref/css_colors_legal.asp
Do you foresee any downstream ecosystem problems associated with expanding the set of allowed colors?
Contributor guide
Assessment
This issue has not been assessed yet.