 |
|
07-28-2004, 06:47 PM
|
|
#1
|
 |
|
Paladin (Level 15)
Join Date: Nov 2002
Location: England
Posts: 400
|
#ff0104
I was thinking where do the values come from to get the colours?
how is 020202 whatever colour, or ff01f9?
How is #ffffff white? Just a thought anybody know this, I am quite intrigued.
edited: typo #ffffff is white not #fffff
Last edited by alienfish : 07-28-2004 at 07:24 PM.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
07-28-2004, 07:18 PM
|
|
#2
|
 |
|
Deity (Level 17)
Join Date: Mar 2004
Location: N.S.W, Australia
Posts: 887
|
good question I would like to know as well
__________________
"The most overlooked advantage of owning a computer is
that if they foul up there's no law against whacking them around a bit."
Eric Porterfield.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
07-28-2004, 07:34 PM
|
|
#3
|
 |
|
Super Deity (Level 18)
Join Date: Mar 2003
Location: Dallas
Posts: 1,031
|
its called hexadecimal. hexadecimal, in case you dont know, is a base 16 numbering system in which there is 0-9, and then A-F. its often used in programming because you can easily convert it to binary and back.
the first two are red, the second two ar green, and the last two are blue. since there are sixteen different values, that makes 256 different values for red, green, and blue. which then opens up million of combinations with all 6 values combined. 0 - 255 are the values you can put in if you are using rgb: rgb(255, 128, 60). hexadecimal is just a different way of writing it.
so to explaine why #FFFFFF is white, it jsut means that red, green, and blue are all set to show at their maximum values, which in turn makes the whole color white. in contrast, #000000 is black because all are set to the minimum value which means no presence of the color. if you wanted to make red you would do #FF0000 because you want all red to show, and none of the other colors. you would make green by doing #00FF00, and blue by doing #0000FF. you can mix in different values and all that to make the different colors.
you could break it down, so for each pair, the first number gets you into a ballpark range, and the second number narrows it down.
so 6A, means i want the value that is direcly in the middle of 6 and 7. 60 would mean i wanted it at exactly 6, and 6F would mean i want it not wuite at 7, but just about dead on.
you could think of it as being, 6.5, 6.0, and 6.9 respectively. but of course, there are 16 values, not 10.
Last edited by n8thegreat : 07-28-2004 at 07:50 PM.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
07-28-2004, 07:49 PM
|
|
#4
|
 |
|
Paladin (Level 15)
Join Date: Nov 2002
Location: England
Posts: 400
|
ah interesting, so the letters are how much of the colours to show? What about the numbers 0-9? is it in the order 0-9-A-F?
|
|
Add to del.icio.us
Can you digg it?
|
|
|
07-28-2004, 07:50 PM
|
|
#5
|
 |
|
Super Deity (Level 18)
Join Date: Mar 2003
Location: Dallas
Posts: 1,031
|
its 0-F
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
|
|
Add to del.icio.us
Can you digg it?
|
|
|
07-28-2004, 07:57 PM
|
|
#6
|
 |
|
Semantic Fanatic
Join Date: Jun 2004
Location: Washington, DC
Posts: 1,301
|
its funny, because I didn't have anything but a basic idea of what it was until about 2 days ago, even though I've been using them for years. I had no idea what the letters were for, so I always used generators or color tables to get the right ones. I kind of had to figure it out because notepad is the only program that wants to accept my ftp as a drive right now, but once I get started it sooo much easier to do it by hand and tweak them than it is to get them from generators.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
07-28-2004, 08:52 PM
|
|
#7
|
 |
|
SELECT MINE FROM TITLES
Join Date: Nov 2002
Location: Frankenmuth, MI
Posts: 4,930
|
alpha beta charlie dog echo and fox?
Work in a Systems (mainframe) group for about a week and you'll be reading your newspaper in Hexidecimal 
__________________
Signature Image Rotator will return when I have time to fix it
Running Scoreboard
Anthony : 3 points
|
|
Add to del.icio.us
Can you digg it?
|
|
|
07-29-2004, 02:57 AM
|
|
#8
|
 |
|
Mod of the Underlay
Join Date: Jun 2002
Location: At a desk, hooked up and ready to rock
Posts: 17,347
|
n8, you forgot to mention WHY hexadecimal...
a hexadecimal number can take the value 0-15, which is the same as using 4-bits in binary notation.
0-255 is 8 bits, and so this is writing using a hexadecimal pair.
so when you have RGB values of (240, 232, 60) - instead of having to write out the whole binary code for this (which would be 24-bits - 3 colours, 8-bits per colour) you use the hex notation...
and the # marker before the numbers show that it is hex notation.
now - can anyone explain to me how RGB fits into 8-bits...
Quote:
Originally Posted by Putts
alpha beta charlie dog echo and fox
|
3 out of 6 there, I'm afraid...
the international phonetic alphabet is:
Alpha
Bravo
Charlie
Delta
Echo
Foxtrot
well, okay, you get another half for "fox"....
For some reason the international phonetics changed after WWII, as the Allies used:
Able
Baker
Charlie
Dog
Easy
Fox
Strange...
|
|
Add to del.icio.us
Can you digg it?
|
|
 |
|
KEEP TABS |
|
SPONSORS |
| |


|
| |
|
|
| |
|