We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I get NaN if I set color table in hex string like:
const { parsePalette } = require('cpt2js'); const palette = ` 0 #5d96a5 1 #91d54d `; const paletteScale = parsePalette(palette); paletteScale(1).rbg(); // [ NaN, NaN, NaN ]
I notice the color test here ignore hex string color, does it meet the expectations?
Thank You.
The text was updated successfully, but these errors were encountered:
@zakjan is this a feature or a bug?
Sorry, something went wrong.
Hi, yes this was a bug indeed. Thanks for reporting.
Fixed in 2da0c24, released as 1.5.2.
No branches or pull requests
Hi, I get NaN if I set color table in hex string like:
I notice the color test here ignore hex string color, does it meet the expectations?
Thank You.
The text was updated successfully, but these errors were encountered: