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

Add rgba color model #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add rgba color model #8

wants to merge 1 commit into from

Conversation

timklge
Copy link

@timklge timklge commented May 27, 2015

This adds a simple rgba color class and conversion methods. When converting rgba colors to other colors (that do not hold alpha information atm), the alpha channel data is dropped.

I needed the transparency functionality for a project and saw that it is still an open issue discussed in #4, so I decided to implement it myself. If this is not the solution you want to implement, just ignore it, but maybe it's something to start with.

@mjablecnik
Copy link

@MichaelFenwick Hello, why you didn't merge this PR yet?

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.

2 participants