"CSS2 gives you three basic ways of choosing colours: hexadecimal, keywords and rgb.
Hexadecimal notation
You probably already know how the hexadecimal notation looks, for each colour (Red, green and blue) you have two letters or digits, and in front of that a #. The higher the digits are, the brighter the colour. Pure black becomes #000000 while pure white becomes #FFFFFF.
But what do those digits actually mean? Hexadecimal notation uses a system of 16 digits. Because we only have 10 digits, the remaining 6 (they start at 0) are described using
There was a question on Mark Birbeck's mind. Should Xpath feature CSS? "But while some sort of convergence of XPath and CSS selectors may seem an obvious thought to many, the CSS 'language' continues to resist being brought up to date, and instead exists in a strange, murky world, of 'quirkarounds' and 'standards-proprietary' syntax. (As people require the ability to address other parts of the source tree, new selection mechanisms have to be added, but in a way that doesn't affect existing rules -- resulting in 'quirky workarounds', and syntax that is
I’ve written a number of posts about CSS3 on my personal blog, so when I was asked to write on CSS3.info I jumped at the chance. To get the quick disclaimer out of the way, my day job is working for Opera Software as their Chief Web Opener. Any thoughts are my own, and any use of CSS3 properties doesn’t imply that they will or will not be supported by Opera in an upcoming release, unless otherwise explicitly stated.
With that out of the way, I was discussing the difference between opacity and RGBA in the office, and thought that it would be