Color

object Color extends ColorCategory

Attrs to set or reset the color of your foreground text

class Category
class Object
trait Matchable
class Any
Color.type

Value members

Inherited methods

def True(r: Int, g: Int, b: Int): EscapeAttr

Create a TrueColor color, from a given (r, g, b) within the 16-million-color TrueColor range

Create a TrueColor color, from a given (r, g, b) within the 16-million-color TrueColor range

Inherited from:
ColorCategory
def True(index: Int): EscapeAttr

Create a TrueColor color, from a given index within the 16-million-color TrueColor range

Create a TrueColor color, from a given index within the 16-million-color TrueColor range

Inherited from:
ColorCategory
override def lookupAttr(applyState: Long): Attr
Definition Classes
Inherited from:
ColorCategory
override def lookupEscape(applyState: Long): String
Definition Classes
Inherited from:
ColorCategory
def makeAttr(s: String, applyValue: Long)(implicit name: Name): EscapeAttr
Inherited from:
Category
def makeNoneAttr(applyValue: Long)(implicit name: Name): ResetAttr
Inherited from:
Category
def mask: Int
Inherited from:
Category
def trueIndex(r: Int, g: Int, b: Int): Int
Inherited from:
ColorCategory
def trueRgbEscape(r: Int, g: Int, b: Int): String
Inherited from:
ColorCategory

Inherited fields

val Full: IndexedSeq[EscapeAttr]

256 color Attrs, for those terminals that support it

256 color Attrs, for those terminals that support it

Inherited from:
ColorCategory
val colorCode: Int
Inherited from:
ColorCategory
val offset: Int
Inherited from:
Category
val width: Int
Inherited from:
Category