[comp.graphics] Comparing colours

warwick@batserver.cs.uq.oz.au (Warwick Allison) (02/21/91)

For use in anti-aliasing, I want to find the colour in a palette which
most closely approximates a given RGB combination.

At the moment, I find the palette colour with the smallest sum of
absolute difference in Red, Green and Blue components.  Does this
sound like the best (ie. visually accurate) method?

Please e-mail!

Warwick.
--
   _  |\	warwick@batserver.cs.uq.oz.au
  / `-' *  <--	Computer Science Department,
  \__--_/	University of Queensland,
       V	AUSTRALIA.