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

Core: Add support for hex colors with alpha transparency #126

Conversation

rejacobson
Copy link
Contributor

Hex colors with alpha transparency are supported in Firefox and Chrome,
at least, perhaps others as well:

eg. #0099bbff (is #0099bb color with ff alpha)

However, jquery-color would convert this hex value to an rgb value
losing the alpha transparency:

eg. rgb(0, 153, 187)

Hex colors with alpha transparency are supported in Firefox and Chrome,
at least, perhaps others as well:

  eg. #0099bbff (is #0099bb color with ff alpha)

However, jquery-color would convert this hex value to an rgb value
losing the alpha transparency:

  eg. rgb(0, 153, 187)
@jsf-clabot
Copy link

jsf-clabot commented Feb 22, 2018

CLA assistant check
All committers have signed the CLA.

@mgol mgol closed this in be4c76d May 6, 2020
@mgol
Copy link
Member

mgol commented May 6, 2020

2 years later, but hey, it finally landed. Thanks!

mgol added a commit that referenced this pull request May 6, 2020
This adds support for the short version of hex colors with alpha transparency:

  eg. #09be (is #09b color with e alpha)

However, jquery-color would convert this hex value to an rgb value
losing the alpha transparency:

  eg. rgb(0, 153, 187)

Ref #129
Ref #126
@mgol mgol modified the milestones: 3.0.0, 2.2.0 May 6, 2020
@mgol
Copy link
Member

mgol commented May 11, 2020

Released in jQuery Color 2.2.0.

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

Successfully merging this pull request may close these issues.

3 participants