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

#rgba hexa parsing #229

Merged
merged 3 commits into from
Oct 31, 2019
Merged

#rgba hexa parsing #229

merged 3 commits into from
Oct 31, 2019

Conversation

alecmolloy
Copy link
Contributor

@alecmolloy alecmolloy commented Oct 10, 2019

This adds support for parsing the #rgba shorthand for hexa values, plus tests! Chroma already supports hexa values in the #rrggbbaa format, this just adds the shorthand.

chroma('#AABBCCDD').css() === chroma('#ABCD').css()

@gka
Copy link
Owner

gka commented Oct 31, 2019

makes sense to add this. thanks for the PR! 👍

@gka gka merged commit dbceadf into gka:master Oct 31, 2019
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

Successfully merging this pull request may close these issues.

2 participants