holoviz / holoviz/param

Support for more color formats

Open
#355 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.