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

Invalid conversion rgb-hsv #71

Open
olton opened this issue Feb 5, 2018 · 0 comments
Open

Invalid conversion rgb-hsv #71

olton opened this issue Feb 5, 2018 · 0 comments

Comments

@olton
Copy link

olton commented Feb 5, 2018

Hi! Thank you for this module.

var color = '#1ba1e2';
var color_rgb = Please.HEX_to_RGB(color);

console.log("Hex: ", color);
console.log("Rgb: ", color_rgb);
console.log("Rgb: ", Please.HSV_to_RGB(Please.RGB_to_HSV(color_rgb)));

I hav next result:

Hex: #1ba1e2
Rgb: {r: 27, g: 161, b: 226}
Rgb: {r: 26, g: 161, b: 226}

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