You are here: Re: What is the equivalent Hex ? « HTML « IT news, forums, messages
Re: What is the equivalent Hex ?

Posted by Animesh K on 11/01/07 19:47

Harlan Messinger wrote:
> Reshma wrote:
>> Hello:
>>
>> I am new to HTML and CSS. I came across this block of code, .link{
>> color:#269;
>> display:block;
>> margin:4px 0 0 0;
>> padding:2px 1em;
>> }
>>
>> I am wondering what is the equivalent hex code for the color:#269 in
>> the above.
>
> A three-digit RGB code #xyz is shorthand for a six-digit hex code
> #xxyyzz. So, #226699.

Correct. Also, you can use common colors by name (typically helps in
visualizing better).

For example:

"color: black;" or "color: white;" are valid CSS properties. Modern
browsers support more such named-colors than what is officially endorsed
by W3C.

http://www.w3.org/TR/CSS21/syndata.html#color-units

Have fun,
Animesh

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация