ColorStyle

class Object
trait Matchable
class Any

Value members

Concrete methods

def hsl(hue: Float, saturation: Float, lightness: Float): T
Value parameters:
hue

in degrees

lightness

in percent

saturation

in percent

See also:
def hsla(hue: Float, saturation: Float, lightness: Float, alpha: Float): T
Value parameters:
alpha

fraction from 0 to 1 indicating opacity

hue

in degrees

lightness

in percent

saturation

in percent

See also:
def rgb(red: Int, green: Int, blue: Int): T
def rgba(red: Int, green: Int, blue: Int, alpha: Float): T
Value parameters:
alpha

fraction from 0 to 1 indicating opacity

See also:

Inherited methods

protected def buildStringValue(value: String): T
protected def valueAsString(value: T): String

Concrete fields

lazy val black: T
lazy val blue: T
lazy val cyan: T
lazy val gray: T
lazy val green: T
lazy val purple: T
lazy val red: T
lazy val silver: T
lazy val white: T
lazy val yellow: T

Inherited fields

lazy val inherit: T

The inherit CSS keyword causes the element for which it is specified to take the computed value of the property from its parent element. --MDN

The inherit CSS keyword causes the element for which it is specified to take the computed value of the property from its parent element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val initial: T

The initial CSS keyword applies the initial (or default) value of a property to an element. --MDN

The initial CSS keyword applies the initial (or default) value of a property to an element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val revert: T

The revert CSS keyword reverts the cascaded value of the property from its current value to the value the property would have had if no changes had been made by the current style origin to the current element. --MDN

The revert CSS keyword reverts the cascaded value of the property from its current value to the value the property would have had if no changes had been made by the current style origin to the current element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val unset: T

The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the second case, when the property is a non-inherited property. --MDN

The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the second case, when the property is a non-inherited property. --MDN

See also:
Inherited from:
StyleStringValueBuilder