Color

replpp.shaded.fansi.Color$
object Color extends ColorCategory

Attrs to set or reset the color of your foreground text

Attributes

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

Members list

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

Attributes

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

Attributes

Inherited from:
ColorCategory
override def lookupAttr(applyState: Long): Attr

Attributes

Definition Classes
Inherited from:
ColorCategory
override def lookupEscape(applyState: Long): String

Attributes

Definition Classes
Inherited from:
ColorCategory
def makeAttr(s: String, applyValue: Long)(implicit name: Name): EscapeAttr

Attributes

Inherited from:
Category
def makeNoneAttr(applyValue: Long)(implicit name: Name): ResetAttr

Attributes

Inherited from:
Category
def mask: Int

Attributes

Inherited from:
Category
def trueIndex(r: Int, g: Int, b: Int): Int

Attributes

Inherited from:
ColorCategory
def trueRgbEscape(r: Int, g: Int, b: Int): String

Attributes

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

Attributes

Inherited from:
ColorCategory
val colorCode: Int

Attributes

Inherited from:
ColorCategory
val offset: Int

Attributes

Inherited from:
Category
val width: Int

Attributes

Inherited from:
Category