Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup name of color #30

Open
LightCC opened this issue Jul 3, 2020 · 0 comments
Open

Lookup name of color #30

LightCC opened this issue Jul 3, 2020 · 0 comments

Comments

@LightCC
Copy link

LightCC commented Jul 3, 2020

Enhancement request

Reverse lookup the name of the selected color in the color picker box. Print it out somewhere in the box.

I'm not sure if every RGB combination has a color or not in the database you're using. If not, it could only report if a name exists for that exact RGB value, or you could generate an algorithm to find the closest match (might want to indicate that in the printout if that's the case).

(You could check out the "Name That Color" extension for other ideas on this, or even make that a child dependency and call that extension to do the lookup, maybe? Might be able to combine the extensions... It has another type of output - sass variable, which is "$color-name: RGB or #HEX value of color").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant