casesandberg / casesandberg/react-color

8 digit hex codes

Open
#416 3 comments 12 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
12.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Hey awesome thing you've got here!

What do you think about 8 digit hex codes, as explained [here](https://css-tricks.com/8-digit-hex-codes/)? The rightmost 2 digits represent alpha value.

I know apps like Photoshop don't use them, so maybe they'd only be implemented for the pickers that do use them. I know Chrome does.

I'd be happy to PR, but if you are rethinking color conversions for v3, maybe this is something that should be done on the color conversion library level? Let me know if you have any thoughts!

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked CSS-Tricks explanation and tracing the color-conversion path used by the pickers, especially the possible v3 conversion library. Determine which pickers should accept 8-digit hex values and verify that the rightmost two digits represent alpha; done means the agreed applicable pickers support this format consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.