Skip to content

lighten and darken with amount 0 are not returning the original color #211

@marsonmao

Description

@marsonmao

For example:

      const color = lighten('#ffb537', 0);

and

      const color = darken('#ffb537', 0);

both return #ffb638.

I think it should return the original color?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions