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

Eliminate nameToHex dictionary lookup by using CSS instead #2

Open
bebraw opened this issue May 21, 2013 · 0 comments
Open

Eliminate nameToHex dictionary lookup by using CSS instead #2

bebraw opened this issue May 21, 2013 · 0 comments

Comments

@bebraw
Copy link
Owner

bebraw commented May 21, 2013

It looks like setting a color by name to some DOM element and retrieving it returns it in a sensible format (rgb(255,255,255) in Chrome). I need to check how that performs cross-browser. Overall this seems like a good idea, though.

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