Fg

org.typelevel.paiges.Style$.XTerm$.Fg$
object Fg

Attributes

Source
Style.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Fg.type

Members list

Value members

Inherited methods

def color(r: Int, g: Int, b: Int): Style

Uses a 6x6x6 color cube to render 8-bit colors.

Uses a 6x6x6 color cube to render 8-bit colors.

Requires r, g, and b to be in [0, 5].

Attributes

Inherited from:
Api (hidden)
Source
Style.scala
def colorCode(code: Int): Style

Renders an 8-bit color from the given code.

Renders an 8-bit color from the given code.

Codes must be in [0, 255].

Attributes

Inherited from:
Api (hidden)
Source
Style.scala
def gray(step: Int): Style

Uses 24 steps to render a gray 8-bit color.

Uses 24 steps to render a gray 8-bit color.

Step must be in [0, 23].

Attributes

Inherited from:
Api (hidden)
Source
Style.scala
def laxColor(r: Int, g: Int, b: Int): Style

Uses a 6x6x6 color cube to render 8-bit colors.

Uses a 6x6x6 color cube to render 8-bit colors.

Ensures that integer values are in [0, 5], other values are squashed into the interval.

Attributes

Inherited from:
Api (hidden)
Source
Style.scala
def laxColorCode(code: Int): Style

Renders an 8-bit color from the given code.

Renders an 8-bit color from the given code.

Ensures that integer values are in [0, 255], other values are squashed into the interval.

Attributes

Inherited from:
Api (hidden)
Source
Style.scala
def laxGray(step: Int): Style

Uses 24 steps to render a gray 8-bit color.

Uses 24 steps to render a gray 8-bit color.

Ensures that integer values are in [0, 23], other values are squashed into the interval.

Attributes

Inherited from:
Api (hidden)
Source
Style.scala