Color

laika.theme.config.Color$
See theColor companion class
object Color

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Color.type

Members list

Value members

Concrete methods

def hex(hexValue: String): Color

Constructs a Color value based on the specified hex string which needs to consist of either 3 or 6 hex digits.

Constructs a Color value based on the specified hex string which needs to consist of either 3 or 6 hex digits.

Attributes

def rgb(red: Int, green: Int, blue: Int): Color

Constructs a Color value with the specified red, green and blue components.

Constructs a Color value with the specified red, green and blue components.

Attributes

def rgba(red: Int, green: Int, blue: Int, alpha: Float): Color

Constructs a Color value with the specified red, green and blue components and the corresponding alpha value.

Constructs a Color value with the specified red, green and blue components and the corresponding alpha value.

Attributes