Skip to content

TypeError: space.lab.lch is not a function #54

@tschaub

Description

@tschaub

The readme suggests that space.lab.lch is a function:

color-space/README.md

Lines 13 to 16 in 9687f77

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions