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

Fix CSS output for RGBColor #1

Merged
merged 1 commit into from
Mar 5, 2014
Merged

Fix CSS output for RGBColor #1

merged 1 commit into from
Mar 5, 2014

Conversation

robbertkl
Copy link
Contributor

The toCSS() method of RGBColor incorrectly uses hsla/hsl with RGB components.

Also, HSVColor uses hsl as well, which is incorrect, so it might be better to convert it to another format and use its toCSS().

Twipped added a commit that referenced this pull request Mar 5, 2014
Fix CSS output for RGBColor
@Twipped Twipped merged commit c3f1f07 into PrimalPHP:master Mar 5, 2014
@robbertkl robbertkl deleted the rgb-css-fix branch March 5, 2014 15:02
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