RGB

final case class RGB(r: Double, g: Double, b: Double)
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def +(other: RGB): RGB
def mix(other: RGB, amount: Double): RGB
def mix(other: RGB): RGB
def toArray: Array[Float]
def toHexString: String
def toHexString(prefix: String): String
def toRGBA: RGBA
def withBlue(newBlue: Double): RGB
def withGreen(newGreen: Double): RGB
def withRed(newRed: Double): RGB

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product