-
Notifications
You must be signed in to change notification settings - Fork 843
feat(css): add color-mix() tool #184
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
Conversation
Thanks, @OnkarRuikar. Looking good! I made some suggestions on a branch, do you want to have a look here:
|
And just general question; why do we want to include Pickr? Not a blocker, just curious 🤔 |
I've applied the changes.
Because HTML color input doesn't support alpha(transparency) channel: whatwg/html#3400 (comment) . |
Nice, taking a look again!
Ah-ha, thanks for the hint 👍🏻 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, only last thing to think about is demonstrating that the percentage doesn't have to be a whole number;
<input id="percentage-one" type="range" name="percent1" step="0.1" />
What do you think? I'm fine with merging as-is!
🤓 done. |
Merging now, thank you! |
The PR adds a tool to experiment with the CSS

color-mix()
function. Following is the screenshot of the tool: