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

Get the luminance of a color #23

Closed
yannickl opened this issue Oct 30, 2016 · 3 comments · Fixed by #26
Closed

Get the luminance of a color #23

yannickl opened this issue Oct 30, 2016 · 3 comments · Fixed by #26

Comments

@yannickl
Copy link
Owner

Get the relative luminosity value of a color following the WCAG specs: https://www.w3.org/TR/WCAG20/#relativeluminancedef

@jlnquere
Copy link
Contributor

I'm on it ;)

jlnquere added a commit to jlnquere/DynamicColor that referenced this issue Nov 22, 2016
yannickl added a commit that referenced this issue Nov 23, 2016
@yannickl
Copy link
Owner Author

I'm thinking of something. Is the luminance method should be a property instead? It'll be more Swift friendly no?

@jlnquere
Copy link
Contributor

Indeed, thats more swifty :)

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

Successfully merging a pull request may close this issue.

2 participants