[Coco] Coco3 colors

John W. Linville linville at tuxdriver.com
Fri Jan 11 10:48:35 EST 2013


On Fri, Jan 11, 2013 at 05:59:29AM -0800, Richard Goedeken wrote:

> http://pastebin.com/nm9WJ6Gv
> 
> This table has hex values (00-FF) for both RGB and Composite output
> modes in R,G,B order.  I also did another little trick to generate
> 'closest match' tables as well.  I converted the RGB values to a
> different color space which is supposed to allow one to calculate a
> 'perceptual difference' metric using the euclidean distance between
> different colors.  I then used this to calculate the "closest"
> Composite palette color index for each RGB palette color, and vice
> versa.  This is in the last 2 columns.  For instance, you can see
> example colors at this web page:

Cool...I'm sure this could be useful.  What color space did you use
for the distance calculations?

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville at tuxdriver.com			might be all we have.  Be ready.



More information about the Coco mailing list