Class Sickill::Rainbow::AnsiRgb
In: lib/ansi_rgb.rb
Parent: Object

Retrieve ANSI color code from RGB color.

Methods

code   new  

Public Class methods

ground is one of :foreground, :background rgb is an array of 3 values between 0 and 255.

Public Instance methods

Get the ANSI color code for this RGB color.

[Validate]