Skip to content

Color Model and API Questions #1

@meodai

Description

@meodai

Hey @zeke & @dy

For my color companion site I was experimenting with coming up with a color description for a color, based on its attributes in HSL for example.

I have a few questions:

Description API: https://github.com/words/color-description/blob/main/index.js#L13

  • This is a const right now and not configurable from the class itself. Is this something you see people extending easily? (If they do, I kinda want to know about it, and hope they would do a pull request). Is this wishful thinking or do you also see that as a "feature" ? :D

Color Model: HSL

  • HSL is not the best for an uniform hue perception, what space would you use to describe a colors hue range? HSLuv?
  • I am a bit confused about how to handle that. On one and it is not an exact science anyway, its almost like a horoscope where the adjectives sometimes cover a wide range of colors, sometimes though the definition is quite narrow.

I would love to read about your thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions