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

Support Hex string color code and int with alpha value #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

heart
Copy link

@heart heart commented Oct 25, 2019

//RGB
let color = 0x123456.color

//ARGB
let colorWithAlpha = 0xFF123456.color

//#RGB String
let color = "#123456".color

//#ARGB String
let colorWithAlpha = "#FF123456".color

@heart
Copy link
Author

heart commented Oct 25, 2019

I did change the iPhone simulator version Github support.

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.

1 participant