Re: Hex Color Codes - Hex 6 <=> Hex 3



Neredbojias wrote:
> With neither quill nor qualm, Kevin Scholl quothed:
>
> > > Or should I simply use basic rounding to change Hex6 to Hex3 (ie
> > > #A1B7C9 becomes #ABD).
> >
> > Actually, #9BC would be closer.
>
> How do you figure that?

ABD = AABBDD
9BC = 99BBCC

A1 = 161, AA = 170, 99 = 153
hence A1 is closer to 99 than AA

C9 = 201, DD = 221, CC = 204
hence C9 is closer to CC than DD

So #9BC would be the closest Hex3 version of #A1B7C9

Steve

.



Relevant Pages

  • Re: DIV headaches
    ... >> With neither quill nor qualm, ... >>>So I tried a seperate ... >>>closer, but then I had to leave for the day. ...
    (alt.html)
  • Re: Hex Color Codes - Hex 6 <=> Hex 3
    ... With neither quill nor qualm, ... > Neredbojias wrote: ... > hence A1 is closer to 99 than AA ...
    (alt.html)
  • Re: DIV headaches
    ... With neither quill nor qualm, ... > So I tried a seperate ... > closer, but then I had to leave for the day. ...
    (alt.html)
  • Re: Hex Color Codes - Hex 6 <=> Hex 3
    ... With neither quill nor qualm, ... > Actually, #9BC would be closer. ... Neredbojias ... Contrary to popular belief, it is believable. ...
    (alt.html)