Open Sidebar
Close Sidebar
sheen
0.1.4
Foundation
Attributes
BasicColor
DefaultColor
Env
IndexedColor
Lab
LiveEnv
MockEnv
Palette
Profile
RGB
RGBColor
SegmentKind
SGRColor
SGRFlags
Style
Underline
Unicode
Sheen
AdaptiveColor
ANSIColor
Border
BorderPainter
Color
CompleteAdaptiveColor
CompleteColor
List
Enumerators
NoColor
Position
Renderer
Style
Builder
Transform
StylePainter
StyleRange
Table
Data
Filter
StringData
TablePainter
TableResizer
Column
TerminalColor
Tree
Branch
Children
Config
Enumerator
Enumerators
Filter
Indenter
Leaf
Node
NodeChildren
Painter
StylePicker
struct
Foundation::
RGBColor
Foundation::RGBColor
Struct
Value
Object
Overview
SGR 24-bit truecolor value
Defined in:
foundation/ansi.cr
Constructors
.new
(r : UInt8, g : UInt8, b : UInt8)
Instance Method Summary
#b
: UInt8
#clone
#copy_with
(r _r = @r, g _g = @g, b _b = @b)
#g
: UInt8
#r
: UInt8
Constructor Detail
def self.
new
(r : UInt8, g : UInt8, b : UInt8)
#
[
View source
]
Instance Method Detail
def
b
: UInt8
#
def
clone
#
[
View source
]
def
copy_with
(r _r = @r, g _g = @g, b _b = @b)
#
[
View source
]
def
g
: UInt8
#
def
r
: UInt8
#