Color

object Color extends CommonColors
Companion:
class
Source:
Color.scala
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Color.type

Type members

Classlikes

final case class HSLA(h: Angle, s: Normalized, l: Normalized, a: Normalized) extends Color
final case class RGBA(r: UnsignedByte, g: UnsignedByte, b: UnsignedByte, a: Normalized) extends Color

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def hsl(h: Angle, s: Double, l: Double): Color

Construct a Color in terms of hue, saturation, and lightness components. The alpha value defaults to 1.0 (fully opaque).

Construct a Color in terms of hue, saturation, and lightness components. The alpha value defaults to 1.0 (fully opaque).

Source:
Color.scala
def hsla(h: Angle, s: Double, l: Double, a: Double): Color
def rgb(r: Int, g: Int, b: Int): Color

Construct a Color in terms of red, green, and blue components. The alpha value defaults to 1.0 (fully opaque).

Construct a Color in terms of red, green, and blue components. The alpha value defaults to 1.0 (fully opaque).

Source:
Color.scala
def rgba(r: Int, g: Int, b: Int, a: Double): Color

Inherited fields

val aqua: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
val blue: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
val cyan: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
val gold: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
val gray: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
val grey: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
val lime: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
val peru: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
val pink: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
val plum: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
val red: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
val snow: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
val tan: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
val teal: Color
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala
Inherited from:
CommonColors
Source:
CommonColors.scala