Welcome to WebmasterWorld Guest from 54.145.166.96

Forum Moderators: not2easy

Message Too Old, No Replies

RGB values: Hexadecimal & Functional, letters or numbers?

Simple question for my simple mind and to help others

   
3:38 pm on Mar 18, 2003 (gmt 0)

10+ Year Member



Simple but very interesting. Is the RGB value used in color a zero (number) or an O (letter)?

Example hexadecimal:
color: #0000FF - are the 0's numbers or letters?

Example functional:
color: rgb(255,0,0) - are the O's numbers or letters?

Thanks in advance for clarification and I hope this helps all other newbies like me out there.

3:46 pm on Mar 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's a zero ;)
4:19 pm on Mar 18, 2003 (gmt 0)

10+ Year Member



for the hex code, (ie: ff00aa)

you have Red = ff, Green = 00, and Blue = aa.

All colors can be be represented by varying values of red, green, and blue.

"00" is no brightness of a particular color, and "ff" is all-out brightness.

So, in my example, you have a color made up of all out bright red, no green, and medium-high blue.

So it should be a pinkish color: alot of red and a good deal of blue will do that.

Other simple examples: 000000 is jet black, and ffffff is pure white.

4:41 pm on Mar 18, 2003 (gmt 0)

10+ Year Member



If you really, really want to understand - and believe me, you don't - then reading up on hex [tiger.coe.missouri.edu] and possibly rgb [mrlxp2.mrl.uiuc.edu] may be the way to go.

They're zeros.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month