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

RGBA support #45

Open
RobinBol opened this issue May 17, 2018 · 1 comment
Open

RGBA support #45

RobinBol opened this issue May 17, 2018 · 1 comment

Comments

@RobinBol
Copy link

Is there a specific reason RGBA is not one of the supported color spaces? I saw the color-rgba and color-alpha modules which seem to handle this well, unfortunately it is not available in color-space.

Thanks!

@chrisgervang
Copy link
Collaborator

chrisgervang commented Sep 5, 2018

I think the main reason for this is that many color spaces don't have an alpha channel. Or maybe if they do have an alpha (like rgba, rgba hex, or hsla), they probably don't need to do a complex conversion to maintain the correct alpha channel.

I'm not a maintainer of this project, but I think it'd be valuable to add support for these alpha channel color spaces to this package! I think if you wanted to work on a PR it would be appreciated!

Alternatively, I'd be happy to help you with a specific conversion you're trying to do involving an alpha channel.

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

No branches or pull requests

2 participants