Skip to content

Added support for any color format (not tested), opacity and outputs rgba#4

Open
clickwhit wants to merge 2 commits intojnordberg:masterfrom
clickwhit:rgba
Open

Added support for any color format (not tested), opacity and outputs rgba#4
clickwhit wants to merge 2 commits intojnordberg:masterfrom
clickwhit:rgba

Conversation

@clickwhit
Copy link
Copy Markdown

Never coded in Objective C before, and this is a bunch of copy pasta, so be warned.

Changes:

TODO before merge

  • Tests to make sure I didn't leave anything segfaulting
  • There can be a smarter output instead of just outputting rgba. If opacity is 1, then output hex. Otherwise, output rgba.

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