the new code

?

I’m Dudley Storey, author of Using SVG with CSS3 and HTML5, Smashing Magazine contributing editor, teacher and speaker. I write about all aspects of web development, including:

  • HTML
  • CSS
  • JavaScript
  • SVG
  • Responsive Design
  • Galleries
  • PHP
  • MySQL
  • SEO
  • Accessibility
  • Servers & Hosting
  • Business
  • Exercises & Quizzes

To receive more information, including news, updates, and tips, follow me on Twitter or add me on Google+.

Become a Patron

This site helps millions of visitors while remaining ad-free. For less than the price of a cup of coffee, you can help pay for bandwidth and server costs while encouraging further articles.

projects

The New DefaultsA Sass color keyword system for designers. Replaces CSS defaults with improved hues and more memorable, relevant color names.

CSSslidyAn auto-generated #RWD image slider. 3.8K of JS, no JQuery. Drop in images, add a line of CSS. Done.

Massive Head CanonMassive Head Canon. Intelligent discussion of movies, books, games, and technology.

books

Pro CSS Animation (Apress, 2013)

Animating Sliding Door Images
CSS vmin and vmax units
3D Rotation w/ CSS Variables
Part of the CSS Color Reading List

Introduction to Color in CSS

Updated 2016-07-29 02:37:44

Share onTwitterFacebookGoogle+

There are four methods of producing color in CSS: keyword, hexadecimal, rgb and hsl. Hexadecimal, rgb, and hsl all have an “alpha” derivative that determines opacity. This reading list covers all of them, together with their application and uses.

Enjoy this piece? I invite you to follow me at twitter.com/dudleystorey to learn more.

Using Hexadecimal Colors in CSS