func (c Color0) Format(s string) string {
	return s
}
No-op for Color0
package message
import (
	"fmt"
)
const (
	Reset = "\033[0m"
	Bold = "\033[1m"
	Dim = "\033[2m"
	Italic = "\033[3m"
	Underline = "\033[4m"
	Blink = "\033[5m"
	Invert = "\033[7m"
	Newline = "\r\n"
	Bel = "\007"
)
type Style interface {
	String() string
	Format(string) string
}
type style string
func (c style) String() string {
	return string(c)
}
func (c style) Format(s string) string {
	return c.String() + s + Reset
}
type Color256 uint8
func (c Color256) String() string {
	return fmt.Sprintf("38;05;%d", c)
}
func (c Color256) Format(s string) string {
	return "\033[" + c.String() + "m" + s + Reset
}
func Color256Palette(colors ...uint8) *Palette {
	size := len(colors)
	p := make([]Style, 0, size)
	for _, color := range colors {
		p = append(p, Color256(color))
	}
	return &Palette{
		colors: p,
		size:   size,
	}
}
type Color0 struct{}
func (c Color0) String() string {
	return ""
}