Color

doodle.core.Color
See theColor companion class
object Color extends CommonColors

Attributes

Companion
class
Source
Color.scala
Graph
Supertypes
trait Sum
trait Mirror
trait CommonColors
class Object
trait Matchable
class Any
Show all
Self type
Color.type

Members list

Type members

Classlikes

final case class HSLA(h: Angle, s: Normalized, l: Normalized, a: Normalized) extends Color

Attributes

Source
Color.scala
Supertypes
class Color
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class RGBA(r: UnsignedByte, g: UnsignedByte, b: UnsignedByte, a: Normalized) extends Color

Attributes

Source
Color.scala
Supertypes
class Color
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Parse a hexadecimal String, as commonly used to specify colors on the web, into a Color. The following formats are supported:

Parse a hexadecimal String, as commonly used to specify colors on the web, into a Color. The following formats are supported:

  • RGB
  • #RGB
  • RGBA
  • #RGBA
  • RRGGBB
  • #RRGGBB
  • RRGGBBAA
  • #RRGGBBAA

Throws java.lang.IllegalArgumentException if the input is not a supported format.

Attributes

Source
Color.scala
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).

Attributes

Source
Color.scala
def hsla(h: Angle, s: Double, l: Double, a: Double): Color

Attributes

Source
Color.scala

Attributes

Source
Color.scala
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).

Attributes

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

Attributes

Source
Color.scala

Inherited fields

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val aqua: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val azure: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val beige: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val bisque: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val black: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val blue: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val brown: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val coral: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val crimson: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val cyan: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val darkRed: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val dimGray: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val dimGrey: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val fuchsia: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val gold: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val gray: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val green: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val grey: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val hotpink: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val indigo: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val ivory: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val khaki: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val lime: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val linen: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val magenta: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val maroon: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val oldLace: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val olive: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val orange: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val orchid: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val peru: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val pink: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val plum: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val purple: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val red: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val salmon: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val sienna: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val silver: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val skyBlue: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val snow: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val tan: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val teal: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val thistle: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val tomato: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val violet: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val wheat: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val white: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala
val yellow: Color

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala

Attributes

Inherited from:
CommonColors
Source
CommonColors.scala