RGBA
Attributes
- Source:
- Color.scala
- Graph
- Supertypes
Members list
Value members
Inherited methods
Copies this color, changing the alpha to the given value
Copies this color, changing the alpha to the given value
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Darken the color by the given amount. This is an absolute amount, not an amount relative to the Color's current lightness. Lightness is clipped at Normalized.MaxValue
Darken the color by the given amount. This is an absolute amount, not an amount relative to the Color's current lightness. Lightness is clipped at Normalized.MaxValue
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Darken the color by the given relative amount. For example, calling
aColor.darkenBy(0.1.normalized
decreases the lightness by 10% of the
current lightness.
Darken the color by the given relative amount. For example, calling
aColor.darkenBy(0.1.normalized
decreases the lightness by 10% of the
current lightness.
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Desaturate the color by the given amount. This is an absolute amount, not an amount relative to the Color's current saturation. Saturation is clipped at Normalized.MaxValue
Desaturate the color by the given amount. This is an absolute amount, not an amount relative to the Color's current saturation. Saturation is clipped at Normalized.MaxValue
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Desaturate the color by the given relative amount. For example, calling
aColor.desaturateBy(0.1.normalized
decreases the saturation by 10% of
the current saturation.
Desaturate the color by the given relative amount. For example, calling
aColor.desaturateBy(0.1.normalized
decreases the saturation by 10% of
the current saturation.
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Increase the alpha channel by the given amount.
Increase the alpha channel by the given relative amount.
Increase the alpha channel by the given relative amount.
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Decrease the alpha channel by the given amount.
Decrease the alpha channel by the given relative amount.
Decrease the alpha channel by the given relative amount.
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Copies this color, changing the hue to the given value
Copies this color, changing the hue to the given value
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Lighten the color by the given amount. This is an absolute amount, not an amount relative to the Color's current lightness. Lightness is clipped at Normalized.MaxValue
Lighten the color by the given amount. This is an absolute amount, not an amount relative to the Color's current lightness. Lightness is clipped at Normalized.MaxValue
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Lighten the color by the given relative amount. For example, calling
aColor.lightenBy(0.1.normalized
increases the lightness by 10% of the
current lightness.
Lighten the color by the given relative amount. For example, calling
aColor.lightenBy(0.1.normalized
increases the lightness by 10% of the
current lightness.
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Copies this color, changing the lightness to the given value
Copies this color, changing the lightness to the given value
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Saturate the color by the given amount. This is an absolute amount, not an amount relative to the Color's current saturation. Saturation is clipped at Normalized.MaxValue
Saturate the color by the given amount. This is an absolute amount, not an amount relative to the Color's current saturation. Saturation is clipped at Normalized.MaxValue
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Saturate the color by the given relative amount. For example, calling
aColor.saturateBy(0.1.normalized
increases the saturation by 10% of the
current saturation.
Saturate the color by the given relative amount. For example, calling
aColor.saturateBy(0.1.normalized
increases the saturation by 10% of the
current saturation.
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Copies this color, changing the saturation to the given value
Copies this color, changing the saturation to the given value
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Rotate hue by the given angle
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
Attributes
- Inherited from:
- Color
- Source:
- Color.scala
True if this is approximately equal to that