Evercoder / Evercoder/culori

Function to parse HSV

Open
#278 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
38
PR merge metrics
No merged PRs in 30d

Description

There are functions to parse different color formats, but no `parseHsv`:
https://culorijs.org/api/#parsing-functions

However it does seems to support `HSV` color format:
https://culorijs.org/color-spaces/

and it contains other functions like `convertHsvToRgb` and `convertRgbToHsv`.
https://culorijs.org/api/

Converter can be used with `hsv` - either `converter('hsv')` or `hsv` directly imported, but it seems to be missing a `parseHsv` function.
https://culorijs.org/api/#color-spaces

Furthermore it seems to generic `parse` function also doesn't understand HSV format.
https://github.com/Evercoder/culori/blob/435a1fc2ca4f7bc6bfd977af872e6d409bc7a25a/src/parse.js#L345

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.