Use L*a*b* colorspace for distance calculations #1

Merged
gallant merged 2 commits from karx/theme-rs:master into master 2023-06-19 07:00:42 -05:00
Contributor

Looks a lot better, IMO. Converts RGB -> XYZ using a matrix and then XYZ -> LAB. Then does Euclidian distance between the two LAB colors.

Looks a lot better, IMO. Converts RGB -> XYZ using a matrix and then XYZ -> LAB. Then does Euclidian distance between the two LAB colors.
karx added 2 commits 2023-06-18 23:37:53 -05:00
gallant merged commit 0f7dc78f56 into master 2023-06-19 07:00:42 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: gallant/theme-rs#1
No description provided.