-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Get color.hsvString #148
Comments
Yeah, I'll implement something like that in the future. My plan is to add support for most of the CSS Level 4 spec in the next major version of iro.js
I don't really understand what you mean here?
Kinda, you can force one of the color channels to always have the same value: colorPicker.on('change', function(color) {
// whenever the color changes, force the hue value back to 100
color.hue = 100;
});
I'm not sure I understand this either |
No worries, successfully implemented the color picker. |
to convert |
Instead of 255 steps you only have 100 so you're loosing precision. Obviously niwanta didn't mind. |
1)Is it possible to get
color.hsvString
?2)If not I can get
color.hsv.h, color.hsv.s, color.hsv.v
separately but how to get percentage(%) ofcolor.hsv.s, color.hsv.v
values?3)I add hue slider, and is it possible to lock the hue slider on a given value when init?
4)Is it possible to increase the range 100 and above?
The text was updated successfully, but these errors were encountered: