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

Taking Color Space into account #57

Closed
pointum opened this issue Feb 26, 2019 · 1 comment
Closed

Taking Color Space into account #57

pointum opened this issue Feb 26, 2019 · 1 comment

Comments

@pointum
Copy link

pointum commented Feb 26, 2019

Hex representation of web colors is specified in sRGB color space. Shouldn’t that be taken into account when converting to and from a hex string? Input color can be in any color space and that affects the hex output.

Also some colors (like system colors) don’t have RGB values so they need to be converted to another color space first too.

@pointum
Copy link
Author

pointum commented Oct 28, 2019

Oh, I must have looked into wrong code or repo. Since SwiftHEXColors does not convert to HEX, this is irrelevant.

@pointum pointum closed this as completed Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants