The VGA 256-color default palette for Go. It can be used as a color.Palette from the standard library, e.g. to create an image.Paletted.
Add it to a module as a dependency via:
go get github.com/fzipp/vga
package main
import (
"image"
"github.com/fzipp/vga"
)
func main() {
img := image.NewPaletted(image.Rect(0, 0, 320, 200), vga.DefaultPalette)
// ...
}