struct Tput::RGB

Overview

A 24-bit color parsed from an OSC color report (rgb:rr/gg/bb).

Defined in:

tput/probe.cr

Constructors

Instance Method Summary

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 #

def to_s(io) #

[View source]