Hsv

com.alecdorrington.laminarcomponents.Hsv
See theHsv companion object
final case class Hsv(hue: Double, saturation: Double, value: Double)

A colour by hue, saturation and value. Unlike a #rrggbb code, it keeps its hue while grey.

Value parameters

hue

The hue, in degrees, from 0 to 360.

saturation

The saturation, from 0 to 1.

value

The value, from 0 (black) to 1.

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 code: String

The #rrggbb code.

The #rrggbb code.

Attributes

def pure: Hsv

The same hue at full saturation and value.

The same hue at full saturation and value.

Attributes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product