Colours

object Colours

Companion object for the Colours class, contains apply factory method and helper methods.

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

final
class RainbowCycle(val value: Int) extends AnyVal

This class cycles through the colour of the Rainbow.

This class cycles through the colour of the Rainbow.

Value members

Concrete methods

All the named colours.

All the named colours.

def apply(inp: Colour*): Colours

The classically designated 7 colours of the rainbow: Red, Orange, Yellow, Green, Blue, Indigo, Violet.

The classically designated 7 colours of the rainbow: Red, Orange, Yellow, Green, Blue, Indigo, Violet.

Implicits