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

Parsing error #23

Open
ccheney opened this issue May 17, 2016 · 0 comments
Open

Parsing error #23

ccheney opened this issue May 17, 2016 · 0 comments
Assignees

Comments

@ccheney
Copy link

ccheney commented May 17, 2016

color.convert('color(cyan blend(red 50%))')

rgb(128, 128, 128)

color.convert('color(rgb(1,1,1) blend(rgb(2,2,2) 50%))')

Error: Unable to parse color from string "rgb(2,2,2"
at Object.Color (/Users/ccheney/Projects/colortest/node_modules/color/index.js:33:10)
at Object.exports.blend (/Users/ccheney/Projects/colortest/node_modules/css-color-function/lib/adjusters.js:39:15)
at /Users/ccheney/Projects/colortest/node_modules/css-color-function/lib/convert.js:56:20
at Array.forEach (native)
at toRGB (/Users/ccheney/Projects/colortest/node_modules/css-color-function/lib/convert.js:42:7)
at Object.convert (/Users/ccheney/Projects/colortest/node_modules/css-color-function/lib/convert.js:28:10)
at Object. (/Users/ccheney/Projects/colortest/index.js:5:19)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)

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