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

Please add support for fractional percentages #57

Open
jwdallas opened this issue Apr 5, 2020 · 1 comment
Open

Please add support for fractional percentages #57

jwdallas opened this issue Apr 5, 2020 · 1 comment

Comments

@jwdallas
Copy link

jwdallas commented Apr 5, 2020

Hello, I’m trying to hit a specific rgb result value with my color transformations and finding there’s no support for fractional percentages.

Input

fire {
  color: color(rgba(29, 29, 31, 1) tint(4%));
}

water {
  color: color(rgba(29, 29, 31, 1) tint(4.3%));
}

Output

fire {
  color: rgb(38, 38, 40);
}

water {
  color: rgb(38, 38, 40);
}

Thanks for creating this wonderful polyfill. It’s been awesome to use.

@Semigradsky
Copy link
Member

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

2 participants