Avatar of collages
collages
Flag for United States of America asked on

Closest Color Matching Algorithm

I'm looking for a way to best match a color to a list of colors for closest match weighted to the visible eye.

Weight might be something like:
30% Red, 60% Green, 10% Blue

Would it be better for me to match on RGB or HSL?  What are the best methods you know of to accomplish this task?
.NET ProgrammingC#ASP.NET

Avatar of undefined
Last Comment
collages

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Meir Rivkin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Meir Rivkin

there are 2 alternatives in the post:
1. using CIE Lab color space
2. RGB to HSL conversion (simpler)
collages

ASKER
Thank you very much.  Great answer.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy