function bgRgb24(
  str,
  color,
) {
  return run(
    str,
    code([
      48,
      2,
      clampAndTruncate(color.r),
      clampAndTruncate(color.g),
      clampAndTruncate(color.b),
    ], 49),
  );
}
/** Set background color using 24bit rgb. */
Set background color using 24bit rgb.
Set background color using 24bit rgb .
function bgRgb24(
  str,
  color,
) {
  return run(
    str,
    code([
      48,
      2,
      clampAndTruncate(color.r),
      clampAndTruncate(color.g),
      clampAndTruncate(color.b),
    ], 49),
  );
}
function bgRgb24 ( str , color , ) { return run ( str , code ( [ 48 , 2 , clampAndTruncate ( color . r ) , clampAndTruncate ( color . g ) , clampAndTruncate ( color . b ) , ] , 49 ) , ) ; }
Set background color using 24bit rgb.
Set background color using 24bit rgb .