func (c Color256) C16() Color {
	return c.Basic()
}
C16 convert color-256 to 16 color.
package color
import (
	"fmt"
	"strconv"
	"strings"
)
const (
	TplFg256 = "38;5;%d"
	TplBg256 = "48;5;%d"
	Fg256Pfx = "38;5;"
	Bg256Pfx = "48;5;"
)
type Color256 [2]uint8
type Bit8Color = Color256  
var emptyC256 = Color256{1: 99}
func Bit8(val uint8, isBg ...bool) Color256 {
	return C256(val, isBg...)
}
func C256(val uint8, isBg ...bool) Color256 {
	bc := Color256{val}
	if len(isBg) > 0 && isBg[0] {
		bc[1] = AsBg
	}
	return bc
}
func (c Color256) Set() error {
	return SetTerminal(c.String())
}
func (c Color256) Reset() error {
	return ResetTerminal()
}
func (c Color256) Print(a ...interface{}) {
	doPrintV2(c.String(), fmt.Sprint(a...))
}
func (c Color256) Printf(format string, a ...interface{}) {
	doPrintV2(c.String(), fmt.Sprintf(format, a...))
}
func (c Color256) Println(a ...interface{}) {
	doPrintlnV2(c.String(), a)
}
func (c Color256) Sprint(a ...interface{}) string {
	return RenderCode(c.String(), a...)
}
func (c Color256) Sprintf(format string, a ...interface{}) string {
	return RenderString(c.String(), fmt.Sprintf(format, a...))
}