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

v4 color API rewrite #49

Merged
merged 3 commits into from
Jan 27, 2019
Merged

v4 color API rewrite #49

merged 3 commits into from
Jan 27, 2019

Conversation

jaames
Copy link
Owner

@jaames jaames commented Jan 27, 2019

New features:

  • Support for ARGB and ARGB shorthand hex string input
  • Support for plain hex strings without '#', as well as traditional hex notation strings (0xFFFFFF etc)
  • Better rgb(a) and hsl(a) string support
  • Base support for transparent colors
  • Far more robust regex for everything
  • Throw errors when color cannot be parsed
  • Strip some static methods that were no longer useful
  • More intuitive method names, rgb2Str -> rgbToStr, etc

@jaames jaames merged commit 54e4882 into v4 Jan 27, 2019
@jaames jaames deleted the v4-color-api-rewrite branch January 27, 2019 21:03
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.

None yet

1 participant