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

Percentage RGB values are represented as floating-point values instead of integers #2

Open
nzakas opened this issue Dec 21, 2010 · 0 comments

Comments

@nzakas
Copy link
Contributor

nzakas commented Dec 21, 2010

An RGB value such as rgb(100%, 50%, 75%) results in values of 255, 127.5, and 191.25, respectively. Browsers do rounding in this case. Need to figure out how they do it and mimic.

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

1 participant