Mail Archives: djgpp/1999/10/20/15:37:45
Michael Abbott aka frEk wrote:
>
> Heya
>
> What immediately comes to mind is using a palette sort of truecolor like... ie.
> Instead of for example the hicolor 5-5-5 palette, within 8 bits you use a 3-3-2
> palette which means 3 bits of red, 3 for green, 2 for blue...
> Short program:
>
BLA BLA BLA...sorry,you was making my head hurt.
Lookhere feller,since you seem to know so much about
colors and stuff,why dont you answer me this:
suppose i gots an 8 bit palette that has some
colors in it like so:
,--r g b
| | | |
0--0,0,0
1--1,7,9
2--2,8,9
3--5,1,2
4--7,8,3
and
i also gots a pixel on my screen that wants to
be as close to 1,6,2 as it can be,but can only
choose from the existin palette of colors.
what would be a good way of figurin out what
color i allready gots what is closer to the
color i wants than the rest of them colors i
allready got?
and fer trivia porposes witch of them colors
up there is closest to 1,6,2 ?
to everyone else
I reckon this is off topic kinda,but this fella seems
like he knows a thing or 2 about colors so i felt like
i had to ask while i hads me a chance.
catcha later,
Mighty oseer and reckoner of hard to reckon things KROGG,er somtin like
that.
--
|"""""<`.THE PRINCE ,'>"""""""""""""""""""""""""""""""""""|
| `.`/""""""\,',' my sig is too big, |
|SEE HIS ( / \ \' SEE HIS but its really cool. |
| FACE \/<> <>\/ SMILE |
| / W \ Visit my ascii art site: |
| ,'\_|||||_/`. http://www.gtcom.net/~krogg/ascii/ |
| ,',' ||| `.`. krogg DOT no DOT to DOT spam AT gtcom DOT net |
|____<,' TIME TO DIE `.>____Remove no.to.spam to reply____|
- Raw text -