Is golang image package only available in two colors: image.White, image.Black?

  golang, question

Golang freetype wants to draw text with colors, but only Image. White and Image. Black are available.
Do you have any other color choices?

clipboard.png

var (
 // Black is an opaque black uniform image.
 Black = NewUniform(color.Black)
 // White is an opaque white uniform image.
 White = NewUniform(color.White)
 // Transparent is a fully transparent uniform image.
 Transparent = NewUniform(color.Transparent)
 // Opaque is a fully opaque uniform image.
 Opaque = NewUniform(color.Opaque)
 )

If you don’t have the color you want, build it yourself.func NewUniform(c color.Color) *Uniform