Color

object Color extends CommonColors
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

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
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

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).

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).

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

Inherited fields

Inherited from
CommonColors
Inherited from
CommonColors
val aqua: Color
Inherited from
CommonColors
Inherited from
CommonColors
val azure: Color
Inherited from
CommonColors
val beige: Color
Inherited from
CommonColors
Inherited from
CommonColors
val black: Color
Inherited from
CommonColors
Inherited from
CommonColors
val blue: Color
Inherited from
CommonColors
Inherited from
CommonColors
val brown: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val coral: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val cyan: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val gold: Color
Inherited from
CommonColors
Inherited from
CommonColors
val gray: Color
Inherited from
CommonColors
val green: Color
Inherited from
CommonColors
Inherited from
CommonColors
val grey: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val ivory: Color
Inherited from
CommonColors
val khaki: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val lime: Color
Inherited from
CommonColors
Inherited from
CommonColors
val linen: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val olive: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val peru: Color
Inherited from
CommonColors
val pink: Color
Inherited from
CommonColors
val plum: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val red: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val snow: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val tan: Color
Inherited from
CommonColors
val teal: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
val wheat: Color
Inherited from
CommonColors
val white: Color
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors
Inherited from
CommonColors