Change hex to rgba when alpha is changed
Open
Nobody has claimed this yet.
question
- Dominant language
- JavaScript
- Stars
- 4.5k
- Forks
- 292
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible for a the picker to start with a hex value and then change to rgba when the alpha is changed?
E.g. the pickr starts off as #ffffff but the alpha is changed to .8 so now the pickr displays it as rgba(255, 255, 255, .8)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the picker's color-format handling and the existing alpha-channel behavior. Confirm that a picker initialized with #ffffff switches its displayed value to rgba(255, 255, 255, .8) after the alpha changes to .8, while preserving the initial hex display before that change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100