Colour
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Colour.type
Members list
Value members
Concrete methods
The colour that CSS writes as css, as #14b8a6, teal, rgb(20 184 166 / 50%) or var(--critic); or else the colour of the text, currentcolor, if css is not one of those forms.
The colour that CSS writes as css, as #14b8a6, teal, rgb(20 184 166 / 50%) or var(--critic); or else the colour of the text, currentcolor, if css is not one of those forms.
Attributes
The colour that CSS writes as css, if it is one of the forms of a colour: a hex colour; a function of a colour space, as rgb(...) or hsl(...), of its numbers, with units or none; a named colour or a system colour; or a custom property, as var(--name), with a colour to fall back on, if any. Where the browser can say, as by CSS.supports, whatever it takes for a colour is one too, as color-mix(...).
The colour that CSS writes as css, if it is one of the forms of a colour: a hex colour; a function of a colour space, as rgb(...) or hsl(...), of its numbers, with units or none; a named colour or a system colour; or a custom property, as var(--name), with a colour to fall back on, if any. Where the browser can say, as by CSS.supports, whatever it takes for a colour is one too, as color-mix(...).
Attributes
Extensions
Extensions
It, as CSS writes it.
It, as CSS writes it.
Attributes
It, with only share of its opacity, from 0 to 1, to a tenth of a percent, written alike on the JVM and in JavaScript, which would write 20.0 as 20.
It, with only share of its opacity, from 0 to 1, to a tenth of a percent, written alike on the JVM and in JavaScript, which would write 20.0 as 20.