CSS Colors 是 CSS 的一个模块,用于处理颜色、颜色类型和透明度。

参考 (Reference)

属性

CSS 数据类型

<color>

指南 (Guides)

None.

规范 (Specifications)

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

浏览器兼容性 (Browser compatibility)

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 1.0 1.0 (1.7 or earlier) 3.0 3.5 1.0
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support 1.0 1.0 (1) 6.0 6.0 1.0

另请阅读

  • 在 CSS 中, gradient 渐变色并非颜色,其实质是 images

文档标签和贡献者

此页面的贡献者: GHLandy, Krenair
最后编辑者: GHLandy,