homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

RGB values: Hexadecimal & Functional, letters or numbers?
Simple question for my simple mind and to help others
Web Footed Newbie

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

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)

It's a zero ;)


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

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)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved