homepage Welcome to WebmasterWorld Guest from 54.204.215.209
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: DrDoc

CSS Forum

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




msg:1178418
 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.

 

madcat




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

It's a zero ;)

SethCall




msg:1178420
 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.

WibbleWobble




msg:1178421
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved