argyleink/css-color-component

Return Color in More Formats

Open

#35 opened on Nov 30, 2025

View on GitHub
 (3 comments) (2 reactions) (0 assignees)TypeScript (9 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (230 stars)
PR merge metrics
 (Avg merge 24m) (1 merged PR in 30d)

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