class TUI::NamedColor

Overview

One of the 16 classic ANSI color names, plus :gray — an invented alias for bright-black (SGR 90/100), not a real terminal color name, predating and distinct from the 256-color palette.

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(name : Symbol) #

[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 sgr_bg : String #

[View source]
def sgr_fg : String #

[View source]