Questions & Answers
Lab Projects

How to calculate the distance between two colors?

  Can anybody suggest a way (possibly an algorithm) to calculate a difference between two colors in most accurate way considering the human eye color perception? I doubt that simple Euclidean distance in the RGB or CMYK color space would be accurate enough. After all our eyes have better perception for green colors plus I assume that perception of other colors is not linear.
  The target is to be able to check or confirm that two colors could be used let's say as the text color and background color making sure that the text will be good seen on the selected background.
Answer It
Previous Next
Advertise With Us