$fg: #fff !default;
$bg: #000 !default;
$st: 00, 95, 135, 175, 215, 255;
@for $i from 0 through 215{
  $r: nth($st, 1 + floor(($i / 36) % 6));
  $g: nth($st, 1 + floor(($i / 6) % 6));
  $b: nth($st, 1 + $i % 6);
  @include termcolor($i + 16, rgb($r, $g, $b));}
@for $i from 0 through 23{
  $l: 8 + $i * 10;
  @include termcolor($i + 232, rgb($l, $l, $l));}
@include termcolor(256, $bg);
@include termcolor(257, $fg);