argyleink / argyleink/css-color-component

Return Color in More Formats

Open
#35 3 comments 2 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
TypeScript
Stars
237
Forks
10
Avg merge
1m
Merged PRs (30d)
1

Description

Hi!

I'd love to have the option to return the color in more formats, such as decimal format (0.1) and/or 8-bit values (0-255) in addition to percentages.
Preferably in the form of an object so it’s easier to pick out different R, G, and B values, or maybe even returning the full color object from color.js?

Thanks again for creating this neat color picker!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the color output API and inspecting how it currently returns percentage values. Review the requested decimal and 8-bit representations, then determine a single object shape and whether the full color.js object is appropriate. Done means the chosen formats are returned consistently with clear R, G, and B access.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.