CSS Color

CSS Color is a CSS module that deals with colors, color types, color blending, opacity, and how you can apply these colors and effects to HTML content. Not all CSS properties that take a <color> as a value are part of this module, but they do depend upon it.

Reference

Properties

Data types

Guides

Applying color to HTML elements using CSS

A guide to using CSS to apply color to a variety of types of content. All color-related CSS properties are touched upon.

Tools

Color picker tool

This tool makes it easy to create, adjust, and experiment with custom colors.

Specifications

Specification Status Comment
CSS Color Module Level 4 Working Draft
CSS Color Module Level 3 Recommendation
CSS Level 2 (Revision 1) Recommendation
CSS Level 1 Recommendation Initial definition

Browser compatibility

color property

BCD tables only load in the browser

color-adjust property

BCD tables only load in the browser

opacity property

BCD tables only load in the browser

See also