Solved

Closest Color Matching Algorithm

Posted on 2013-01-08
3
1,991 Views
Last Modified: 2013-01-08
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?
0
Comment
Question by:collages
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 38755640
here's your solution:
Best algorithm for matching colours
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 38755656
there are 2 alternatives in the post:
1. using CIE Lab color space
2. RGB to HSL conversion (simpler)
0
 
LVL 1

Author Closing Comment

by:collages
ID: 38755687
Thank you very much.  Great answer.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question