Function to parse HSV
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- computer-graphics
Research direction
Start in src/parse.js around line 345 and compare the existing format-specific parsing functions with the HSV converters and exports referenced in the issue. Verify that HSV can be parsed through both parseHsv and the generic parse function, using the documented HSV examples as the completion check.
Written by the indexing model from the issue text.
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
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Evercoder/culori
-
Bug Help Welcome
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Change: Major
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Organize API Docs Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in Evercoder/culori
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·