Welcome visitor
* Login
* Register
It is currently January 21st, 2019, 3:16 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  Valid ways to declare colours in CSS
PostPosted: November 22nd, 2009, 6:23 am 

Posts: 16
What is (or are) the accepted ways in CSS to declare the value for colours attributes?
I thought that the CSS standard was #fff, but I've seen many different styles, like #ffffff or even color: blue; is that really valid?


Top
 Profile  
 
  Re: Valid ways to declare colours in CSS
PostPosted: November 22nd, 2009, 6:47 am 

Posts: 56
Yeah, all of those methods are W3c standard's compliant-

The name color is a very limited one.
The ffffff gives you a greater diversity of options than fff.
And the rgb format is useful cause its a format widely used through all the graphic environment.


Top
 Profile  
 
  Re: Valid ways to declare colours in CSS
PostPosted: November 22nd, 2009, 6:59 am 

Posts: 117
Also visit the tutorial section, it can help you visualize the concepts better http://www.scriptingok.com/tutorial/Color-modes


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron