Xref: utzoo comp.graphics:2355 comp.sys.mac.programmer:594 Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!oliveb!sun!limes From: limes@sun.uucp (Greg Limes) Newsgroups: comp.graphics,comp.sys.mac.programmer Subject: Re: Choosing closest-color-by-blending Message-ID: <50841@sun.uucp> Date: 26 Apr 88 04:20:09 GMT References: <3184@coherent.com> Reply-To: limes@sun.UUCP (Greg Limes) Distribution: comp Organization: Sun Microsystems, Mountain View Lines: 18 Keywords: RGB blending PixPat In article <3184@coherent.com> dplatt@coherent.com (Dave Platt) writes: > > The Problem > >Given a color palette of N colors, each of whose (R,G,B) values are >known to a reasonable precision, select a group of 4 of those N colors, >such that the average of these 4 colors' (R,G,B) values falls close to >a specified (R',G',B') color. Much of Dave's posting hacked away ... I have been doing some work on an IBM-PC's EGA adaptor that has run me into this same brick wall, with the slight modification that I have a choice of up to 16 colors from a palette of 64 ... yes, pretty weak, but that is the hardware I have to work with; so, if anyone has any references not only on how to select from the N colors, but also how to select WHICH n colors, post (or email) them also ... -- Greg Limes [limes@sun.com] frames to /dev/fb