drhiii

Joined: 2003-04-27
Posts: 397
Posted: Sun, 2005-07-24 23:49

A dense question here... anyone point to a mini-cheat sheet for the hex codes inside color.css? I can find the 6 character codes, but am trying to sort out the 3 characters and how they work with each other. Hit and miss is no prob, but changes don't seem to follow logic now and then. Operator error I know.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2005-07-25 00:08

I believe, not 100% sure it's just an abbreviation:

#888 = #888888
#ebe = #eebbee
#cbc = #ccbbee
#c00 = #cc0000

etc.

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Mon, 2005-07-25 00:25

May I dig my dense hole a little deeper. I thought so too. Can you expand on the logic of this a tad? #888, ok. But I don't follow the rest of the examples. First three chars? Every other char? Am not tracking it, but that is operator error, me.

nivekiam wrote:
I believe, not 100% sure it's just an abbreviation:

#888 = #888888
#ebe = #eebbee
#cbc = #ccbbee
#c00 = #cc0000

etc.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2005-07-25 01:02

drhiii, We were getting off topic so I split this into this new thread:

If my logic is correct it's every other char and only works for hex notication that is made of 3 pairs of chars, where each pair is the same.

Example #888888 is made up of 3 pairs of 88 so the abbreviation would be #888, #884455 is made up of 88, 44 and 55, so the abbreviation would be #845. However, #e4e4e4 cannot have an abbreviation.

That's my understanding, clear as mud as it may be. I could be completely off base too. I tried googling for more info, but couldn't find much at all. Tons of info about hex notation for colors, but not a lot of about 3 digit abbreviations.

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Mon, 2005-07-25 01:06

Agree. My question took the thread in a diff direction.

I also searched for 3 digit abbreviations to no avail. You would think this would pop up somewhere. But it is clear and that's what I thought too. Now to unravel the puzzle in the .css.

Tx a mil. Helps volumes.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2005-07-25 01:17

I like to have an image editing app I can input those hex code into to see what the color is, or select a color I like and find it's hex code.

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Mon, 2005-07-25 02:56

Do you know of one that will allow this 3 digit sequence? I tried three earlier that wouldn't cooperate....

tx

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2005-07-25 03:11

The GIMP ;) www.gimp.org

After getting it installed, start a new image, doesn't have to be anything special. Click on the the Dialogs pull-down, then click on Colors (about mid-menu).

A FG/BG Color dialog will popup, click on the second from the last button on the top row, if you hover over it, it will says Scales in the tooltip. You can now enter the HTML notation in the box near the bottom.

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Mon, 2005-07-25 04:35

Ah. Of course. I was looking for a small proggie, but this of course is correct too. I will be getting off the dense-o-meter shortly.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2005-07-25 07:09

No worries. There probably is, I just know you can do this with The GIMP.