-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lab() and lch() color previews added (#306)
* Added conversion functions for LAB to RGB for the preview * Added the ability to parse negative numbers since LAB requires it * Added basic tests for LAB, need to add more cases yet * Added lch() conversion functions * Added basic tests for lch(), need to add more * Added lch() conversion functions * Added basic tests for lch(), need to add more * Removed merge conflict * Removed warnings and added reverse conversion functions * Added color presentations for lab and lch to make picker work * Added new tests for lab and lch functions * Ran the built-in formatter and replaced const where appropriate * more tests, fix for xyzToRGB * number can start with + or -. Fix <an+b> parsing --------- Co-authored-by: Martin Aeschlimann <[email protected]>
- Loading branch information
1 parent
9e3bfe4
commit 1114606
Showing
8 changed files
with
343 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.