The readme suggests that space.lab.lch is a function:
|
import space from 'color-space'; |
|
|
|
//convert lab to lch |
|
var result = space.lab.lch([80,50,60]); |
However, running this throws TypeError: space.lab.lch is not a function.
Should this be space.lab.lchab instead?
The readme suggests that
space.lab.lchis a function:color-space/README.md
Lines 13 to 16 in 9687f77
However, running this throws
TypeError: space.lab.lch is not a function.Should this be
space.lab.lchabinstead?