class TUI::RGB256

Overview

A single xterm 256-color palette index (0-255).

Defined in:

tui/core/colors.cr

Constructors

Instance Method Summary

Instance methods inherited from class TUI::Color

sgr_bg : String sgr_bg, sgr_fg : String sgr_fg

Constructor Detail

def self.new(index : Int32) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def index : Int32 #

[View source]
def sgr_bg : String #

[View source]
def sgr_fg : String #

[View source]