diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index 052096ec..af7855b2 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -432,6 +432,28 @@ interface CSSAngleValue : CSSStyleValue { CSSAngleValue provides attributes that reflect the size of the angle in each of the CSS angle units represented by the {{CSSAngleUnit}} enum. +{{CSSColorValue}} objects {#colorvalue-objects} +--------------------------------------------- +
+
+[Constructor(double r, double g, double b),
+ Constructor(double r, double g, double b, double a)]
+interface CSSColorValue : CSSStyleValue{
+  readonly attribute double r;
+  readonly attribute double g;
+  readonly attribute double b;
+  readonly attribute double a;
+};
+
+
+ +{{CSSColorValue}} objects represent values of the 'color' CSS data type. {{CSSColorValue}}s are +initialised using the RGB cubic-coordinate system, which specifies a red, green and blue +component. These are specified as doubleegers between 0 and 255. An alpha component may also be +specified in the constructor as a double between 0 and 1. + +Issue: Do we want to support other color systems, e.g. HSL? + {{CSSTransformValue}} objects {#transformvalue-objects} -----------------------------------------------------------