This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ideas:color-object [2014/07/10 02:08] – <code idl> crissov | ideas:color-object [2021/10/01 15:36] (current) – fantasai | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | This has been superseded by work on a common color API for the Web Platform and by work on Typed OM for manipulating CSS syntax specifically. | ||
+ | </ | ||
+ | |||
<code idl> | <code idl> | ||
[Constructor(double r, double g, double b, optional double a=1), | [Constructor(double r, double g, double b, optional double a=1), | ||
Line 16: | Line 20: | ||
static RGBAColor fromHex(optional HexColorInit color); | static RGBAColor fromHex(optional HexColorInit color); | ||
| | ||
- | DOMString? | + | DOMString? |
- | /* Add fromKeyword()? | + | |
| | ||
DOMString toString(optional DOMString type=" | DOMString toString(optional DOMString type=" |