RGB

indigo.shared.datatypes.RGB
See theRGB companion object
final case class RGB(r: Double, g: Double, b: Double)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product