ColorizedString

sealed trait ColorizedString extends Product with Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Colorize the string with an RGB value. Note: color values must be in the range 0-255. Otherwise, this function will throw an exception.

Colorize the string with an RGB value. Note: color values must be in the range 0-255. Otherwise, this function will throw an exception.

Additionally, for RGB colors to be rendered, you need to use a colorize variant that supports them, and to actually see them your terminal needs to have truecolor support.

Consult the README of this project for more information.

Source:
ColorizedString.scala

Inherited methods

def canEqual(that: Any): Boolean
Inherited from:
Equals
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
Inherited from:
Product
Inherited from:
Product
Inherited from:
Product