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

fixed rounding issue in RGB formatter #977

Closed

Conversation

bjouhier
Copy link

RGB formatter should round the r, g, b components instead of truncating them. This causes a roundtrip problem. For example #aabbcc -> rgb -> hsv -> rgb -> #aabacc. It causes weird behavior in the colorwheel jQuery plugin.

@tomasAlabes
Copy link
Collaborator

Merged by me as it didn't follow the PR instructions.
Regarding #978 I see the change breaking something here: jweir/colorwheel#21
Can you confirm that raphael is not broken with it?

@tomasAlabes tomasAlabes closed this Aug 1, 2015
@bjouhier
Copy link
Author

bjouhier commented Aug 1, 2015

Following up in #978

@bjouhier
Copy link
Author

bjouhier commented Aug 1, 2015

Sorry, I missed the CONTRIBUTING.md. If you want I can modify the other PR.

@tomasAlabes
Copy link
Collaborator

No problem. Already merged it.

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.

None yet

2 participants