Skip to content

chroma.average Error with 'lrgb' mode #187

Description

@blastframe

Hello,
This library is absolutely incredible! Thank you very much for your work on it.

I noticed a bug when averaging an array of colors with the mode set to 'lrgb.' It outputs the color black and throws this error:

"unknown format: 154.74602848969448,99.85600744182706,158.8000139938421,1.0000000000000002"

Here's a Codepen demonstrating the bug.

Thanks again!

Activity

  1. gka commented on Sep 24, 2018

    @gka
    Owner

    found the bug and fixed it. sorry for the delay

  2. added a commit that references this issue on Nov 13, 2024
    b69b6e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions