c0bra / color-scheme-js

Generate pleasant color schemes in JavaScript

Home Page:http://c0bra.github.com/color-scheme-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReferenceError: COLOR_WHEEL is not defined

gerhardcit opened this issue · comments

Install and run on node 6.9
npm install color-scheme

let scheme = new ColorScheme();
        scheme.from_hex(mainColor)
            .scheme('triade')
            .distance(0.7)
            .variation('pastel');

Error:
ReferenceError: COLOR_WHEEL is not defined

Should be fixed with v0.0.7 (just published). Please let me know if it's still an issue.

Actually, just tested this locally and it looks fine so I'll close.