function rgb8(
  str,
  color,
) {
  return run(
    str,
    code([
      38,
      5,
      clampAndTruncate(color),
    ], 39),
  );
}
/** Set text color using paletted 8bit colors.
 * https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit */
Set text color using paletted 8bit colors.
Set text color using paletted 8bit colors .
function rgb8(
  str,
  color,
) {
  return run(
    str,
    code([
      38,
      5,
      clampAndTruncate(color),
    ], 39),
  );
}
function rgb8 ( str , color , ) { return run ( str , code ( [ 38 , 5 , clampAndTruncate ( color ) , ] , 39 ) , ) ; }
Set text color using paletted 8bit colors.
Set text color using paletted 8bit colors .