Module: Formatting

Defined in:
lib/surpass/formatting.rb

Constant Summary collapse

COLOURS =
{
  'aqua' => 0x31,
  'black'   => 0x08,
  'blue'    => 0x0C,
  'blue-grey' => 0x36,
  'bright-green' => 0xb,
  'brown' => 0x3c,
  'coral' => 0x1d,
  'cornflower-blue' => 0x18,
  'dark-blue' => 0x12,
  'dark-green' => 0x3a,
  'dark-red' => 0x10,
  'dark-teal' => 0x38,
  'dark-yellow' => 0x13,
  'fuchsia' => 0x0E,
  'gold' => 0x33,
  'gray'    => 0x17,
  'grey'    => 0x17,
  'green' => 0x11,
  'grey-25-percent' => 0x16,
  'grey-40-percent' => 0x37,
  'grey-50-percent' => 0x17,
  'grey-80-percent' => 0x3f,
  'indigo' => 0x3e,
  'lavender' => 0x2e,
  'lemon-chiffon' => 0x1a,
  'light-blue' => 0x30,
  'light-cornflower-blue' => 0x1f,
  'light-green' => 0x2a,
  'light-orange' => 0x34,
  'light-turquoise' => 0x29,
  'light-yellow' => 0x2b,
  'lime' => 0x32,
  'magenta' => 0x0E,
  'maroon' => 0x19,
  'olive-green' => 0x3b,
  'orange' => 0x35,
  'orchid' => 0x1c,
  'pale-blue' => 0x2c,
  'pink'    => 0x21,
  'plum' => 0x3d,
  'purple'  => 0x14,
  'red'     => 0x0A,
  'rose' => 0x2d,
  'royal-blue' => 0x1e,
  'sea-green' => 0x39,
  'silver'  => 0x16,
  'sky-blue' => 0x28,
  'tan' => 0x2f,
  'teal' => 0x15,
  'turquoise' => 0xf,
  'violet' => 0x14,
  'white'   => 0x09,
  'yellow'  => 0x0D
}
COLORS =
COLOURS