# package palette
`import "image/color/palette"`
palette包提供了标准的调色板。
## Index
* [Variables](#pkg-variables)
## Variables
```
var Plan9 = []color.Color{
color.RGBA{0x00, 0x00, 0x00, 0xff},
color.RGBA{0x00, 0x00, 0x44, 0xff},
color.RGBA{0x00, 0x00, 0x88, 0xff},
color.RGBA{0x00, 0x00, 0xcc, 0xff},
color.RGBA{0x00, 0x44, 0x00, 0xff},
color.RGBA{0x00, 0x44, 0x44, 0xff},
color.RGBA{0x00, 0x44, 0x88, 0xff},
color.RGBA{0x00, 0x44, 0xcc, 0xff},
color.RGBA{0x00, 0x88, 0x00, 0xff},
color.RGBA{0x00, 0x88, 0x44, 0xff},
color.RGBA{0x00, 0x88, 0x88, 0xff},
color.RGBA{0x00, 0x88, 0xcc, 0xff},
color.RGBA{0x00, 0xcc, 0x00, 0xff},
color.RGBA{0x00, 0xcc, 0x44, 0xff},
color.RGBA{0x00, 0xcc, 0x88, 0xff},
color.RGBA{0x00, 0xcc, 0xcc, 0xff},
color.RGBA{0x00, 0xdd, 0xdd, 0xff},
color.RGBA{0x11, 0x11, 0x11, 0xff},
color.RGBA{0x00, 0x00, 0x55, 0xff},
color.RGBA{0x00, 0x00, 0x99, 0xff},
color.RGBA{0x00, 0x00, 0xdd, 0xff},
color.RGBA{0x00, 0x55, 0x00, 0xff},
color.RGBA{0x00, 0x55, 0x55, 0xff},
color.RGBA{0x00, 0x4c, 0x99, 0xff},
color.RGBA{0x00, 0x49, 0xdd, 0xff},
color.RGBA{0x00, 0x99, 0x00, 0xff},
color.RGBA{0x00, 0x99, 0x4c, 0xff},
color.RGBA{0x00, 0x99, 0x99, 0xff},
color.RGBA{0x00, 0x93, 0xdd, 0xff},
color.RGBA{0x00, 0xdd, 0x00, 0xff},
color.RGBA{0x00, 0xdd, 0x49, 0xff},
color.RGBA{0x00, 0xdd, 0x93, 0xff},
color.RGBA{0x00, 0xee, 0x9e, 0xff},
color.RGBA{0x00, 0xee, 0xee, 0xff},
color.RGBA{0x22, 0x22, 0x22, 0xff},
color.RGBA{0x00, 0x00, 0x66, 0xff},
color.RGBA{0x00, 0x00, 0xaa, 0xff},
color.RGBA{0x00, 0x00, 0xee, 0xff},
color.RGBA{0x00, 0x66, 0x00, 0xff},
color.RGBA{0x00, 0x66, 0x66, 0xff},
color.RGBA{0x00, 0x55, 0xaa, 0xff},
color.RGBA{0x00, 0x4f, 0xee, 0xff},
color.RGBA{0x00, 0xaa, 0x00, 0xff},
color.RGBA{0x00, 0xaa, 0x55, 0xff},
color.RGBA{0x00, 0xaa, 0xaa, 0xff},
color.RGBA{0x00, 0x9e, 0xee, 0xff},
color.RGBA{0x00, 0xee, 0x00, 0xff},
color.RGBA{0x00, 0xee, 0x4f, 0xff},
color.RGBA{0x00, 0xff, 0x55, 0xff},
color.RGBA{0x00, 0xff, 0xaa, 0xff},
color.RGBA{0x00, 0xff, 0xff, 0xff},
color.RGBA{0x33, 0x33, 0x33, 0xff},
color.RGBA{0x00, 0x00, 0x77, 0xff},
color.RGBA{0x00, 0x00, 0xbb, 0xff},
color.RGBA{0x00, 0x00, 0xff, 0xff},
color.RGBA{0x00, 0x77, 0x00, 0xff},
color.RGBA{0x00, 0x77, 0x77, 0xff},
color.RGBA{0x00, 0x5d, 0xbb, 0xff},
color.RGBA{0x00, 0x55, 0xff, 0xff},
color.RGBA{0x00, 0xbb, 0x00, 0xff},
color.RGBA{0x00, 0xbb, 0x5d, 0xff},
color.RGBA{0x00, 0xbb, 0xbb, 0xff},
color.RGBA{0x00, 0xaa, 0xff, 0xff},
color.RGBA{0x00, 0xff, 0x00, 0xff},
color.RGBA{0x44, 0x00, 0x44, 0xff},
color.RGBA{0x44, 0x00, 0x88, 0xff},
color.RGBA{0x44, 0x00, 0xcc, 0xff},
color.RGBA{0x44, 0x44, 0x00, 0xff},
color.RGBA{0x44, 0x44, 0x44, 0xff},
color.RGBA{0x44, 0x44, 0x88, 0xff},
color.RGBA{0x44, 0x44, 0xcc, 0xff},
color.RGBA{0x44, 0x88, 0x00, 0xff},
color.RGBA{0x44, 0x88, 0x44, 0xff},
color.RGBA{0x44, 0x88, 0x88, 0xff},
color.RGBA{0x44, 0x88, 0xcc, 0xff},
color.RGBA{0x44, 0xcc, 0x00, 0xff},
color.RGBA{0x44, 0xcc, 0x44, 0xff},
color.RGBA{0x44, 0xcc, 0x88, 0xff},
color.RGBA{0x44, 0xcc, 0xcc, 0xff},
color.RGBA{0x44, 0x00, 0x00, 0xff},
color.RGBA{0x55, 0x00, 0x00, 0xff},
color.RGBA{0x55, 0x00, 0x55, 0xff},
color.RGBA{0x4c, 0x00, 0x99, 0xff},
color.RGBA{0x49, 0x00, 0xdd, 0xff},
color.RGBA{0x55, 0x55, 0x00, 0xff},
color.RGBA{0x55, 0x55, 0x55, 0xff},
color.RGBA{0x4c, 0x4c, 0x99, 0xff},
color.RGBA{0x49, 0x49, 0xdd, 0xff},
color.RGBA{0x4c, 0x99, 0x00, 0xff},
color.RGBA{0x4c, 0x99, 0x4c, 0xff},
color.RGBA{0x4c, 0x99, 0x99, 0xff},
color.RGBA{0x49, 0x93, 0xdd, 0xff},
color.RGBA{0x49, 0xdd, 0x00, 0xff},
color.RGBA{0x49, 0xdd, 0x49, 0xff},
color.RGBA{0x49, 0xdd, 0x93, 0xff},
color.RGBA{0x49, 0xdd, 0xdd, 0xff},
color.RGBA{0x4f, 0xee, 0xee, 0xff},
color.RGBA{0x66, 0x00, 0x00, 0xff},
color.RGBA{0x66, 0x00, 0x66, 0xff},
color.RGBA{0x55, 0x00, 0xaa, 0xff},
color.RGBA{0x4f, 0x00, 0xee, 0xff},
color.RGBA{0x66, 0x66, 0x00, 0xff},
color.RGBA{0x66, 0x66, 0x66, 0xff},
color.RGBA{0x55, 0x55, 0xaa, 0xff},
color.RGBA{0x4f, 0x4f, 0xee, 0xff},
color.RGBA{0x55, 0xaa, 0x00, 0xff},
color.RGBA{0x55, 0xaa, 0x55, 0xff},
color.RGBA{0x55, 0xaa, 0xaa, 0xff},
color.RGBA{0x4f, 0x9e, 0xee, 0xff},
color.RGBA{0x4f, 0xee, 0x00, 0xff},
color.RGBA{0x4f, 0xee, 0x4f, 0xff},
color.RGBA{0x4f, 0xee, 0x9e, 0xff},
color.RGBA{0x55, 0xff, 0xaa, 0xff},
color.RGBA{0x55, 0xff, 0xff, 0xff},
color.RGBA{0x77, 0x00, 0x00, 0xff},
color.RGBA{0x77, 0x00, 0x77, 0xff},
color.RGBA{0x5d, 0x00, 0xbb, 0xff},
color.RGBA{0x55, 0x00, 0xff, 0xff},
color.RGBA{0x77, 0x77, 0x00, 0xff},
color.RGBA{0x77, 0x77, 0x77, 0xff},
color.RGBA{0x5d, 0x5d, 0xbb, 0xff},
color.RGBA{0x55, 0x55, 0xff, 0xff},
color.RGBA{0x5d, 0xbb, 0x00, 0xff},
color.RGBA{0x5d, 0xbb, 0x5d, 0xff},
color.RGBA{0x5d, 0xbb, 0xbb, 0xff},
color.RGBA{0x55, 0xaa, 0xff, 0xff},
color.RGBA{0x55, 0xff, 0x00, 0xff},
color.RGBA{0x55, 0xff, 0x55, 0xff},
color.RGBA{0x88, 0x00, 0x88, 0xff},
color.RGBA{0x88, 0x00, 0xcc, 0xff},
color.RGBA{0x88, 0x44, 0x00, 0xff},
color.RGBA{0x88, 0x44, 0x44, 0xff},
color.RGBA{0x88, 0x44, 0x88, 0xff},
color.RGBA{0x88, 0x44, 0xcc, 0xff},
color.RGBA{0x88, 0x88, 0x00, 0xff},
color.RGBA{0x88, 0x88, 0x44, 0xff},
color.RGBA{0x88, 0x88, 0x88, 0xff},
color.RGBA{0x88, 0x88, 0xcc, 0xff},
color.RGBA{0x88, 0xcc, 0x00, 0xff},
color.RGBA{0x88, 0xcc, 0x44, 0xff},
color.RGBA{0x88, 0xcc, 0x88, 0xff},
color.RGBA{0x88, 0xcc, 0xcc, 0xff},
color.RGBA{0x88, 0x00, 0x00, 0xff},
color.RGBA{0x88, 0x00, 0x44, 0xff},
color.RGBA{0x99, 0x00, 0x4c, 0xff},
color.RGBA{0x99, 0x00, 0x99, 0xff},
color.RGBA{0x93, 0x00, 0xdd, 0xff},
color.RGBA{0x99, 0x4c, 0x00, 0xff},
color.RGBA{0x99, 0x4c, 0x4c, 0xff},
color.RGBA{0x99, 0x4c, 0x99, 0xff},
color.RGBA{0x93, 0x49, 0xdd, 0xff},
color.RGBA{0x99, 0x99, 0x00, 0xff},
color.RGBA{0x99, 0x99, 0x4c, 0xff},
color.RGBA{0x99, 0x99, 0x99, 0xff},
color.RGBA{0x93, 0x93, 0xdd, 0xff},
color.RGBA{0x93, 0xdd, 0x00, 0xff},
color.RGBA{0x93, 0xdd, 0x49, 0xff},
color.RGBA{0x93, 0xdd, 0x93, 0xff},
color.RGBA{0x93, 0xdd, 0xdd, 0xff},
color.RGBA{0x99, 0x00, 0x00, 0xff},
color.RGBA{0xaa, 0x00, 0x00, 0xff},
color.RGBA{0xaa, 0x00, 0x55, 0xff},
color.RGBA{0xaa, 0x00, 0xaa, 0xff},
color.RGBA{0x9e, 0x00, 0xee, 0xff},
color.RGBA{0xaa, 0x55, 0x00, 0xff},
color.RGBA{0xaa, 0x55, 0x55, 0xff},
color.RGBA{0xaa, 0x55, 0xaa, 0xff},
color.RGBA{0x9e, 0x4f, 0xee, 0xff},
color.RGBA{0xaa, 0xaa, 0x00, 0xff},
color.RGBA{0xaa, 0xaa, 0x55, 0xff},
color.RGBA{0xaa, 0xaa, 0xaa, 0xff},
color.RGBA{0x9e, 0x9e, 0xee, 0xff},
color.RGBA{0x9e, 0xee, 0x00, 0xff},
color.RGBA{0x9e, 0xee, 0x4f, 0xff},
color.RGBA{0x9e, 0xee, 0x9e, 0xff},
color.RGBA{0x9e, 0xee, 0xee, 0xff},
color.RGBA{0xaa, 0xff, 0xff, 0xff},
color.RGBA{0xbb, 0x00, 0x00, 0xff},
color.RGBA{0xbb, 0x00, 0x5d, 0xff},
color.RGBA{0xbb, 0x00, 0xbb, 0xff},
color.RGBA{0xaa, 0x00, 0xff, 0xff},
color.RGBA{0xbb, 0x5d, 0x00, 0xff},
color.RGBA{0xbb, 0x5d, 0x5d, 0xff},
color.RGBA{0xbb, 0x5d, 0xbb, 0xff},
color.RGBA{0xaa, 0x55, 0xff, 0xff},
color.RGBA{0xbb, 0xbb, 0x00, 0xff},
color.RGBA{0xbb, 0xbb, 0x5d, 0xff},
color.RGBA{0xbb, 0xbb, 0xbb, 0xff},
color.RGBA{0xaa, 0xaa, 0xff, 0xff},
color.RGBA{0xaa, 0xff, 0x00, 0xff},
color.RGBA{0xaa, 0xff, 0x55, 0xff},
color.RGBA{0xaa, 0xff, 0xaa, 0xff},
color.RGBA{0xcc, 0x00, 0xcc, 0xff},
color.RGBA{0xcc, 0x44, 0x00, 0xff},
color.RGBA{0xcc, 0x44, 0x44, 0xff},
color.RGBA{0xcc, 0x44, 0x88, 0xff},
color.RGBA{0xcc, 0x44, 0xcc, 0xff},
color.RGBA{0xcc, 0x88, 0x00, 0xff},
color.RGBA{0xcc, 0x88, 0x44, 0xff},
color.RGBA{0xcc, 0x88, 0x88, 0xff},
color.RGBA{0xcc, 0x88, 0xcc, 0xff},
color.RGBA{0xcc, 0xcc, 0x00, 0xff},
color.RGBA{0xcc, 0xcc, 0x44, 0xff},
color.RGBA{0xcc, 0xcc, 0x88, 0xff},
color.RGBA{0xcc, 0xcc, 0xcc, 0xff},
color.RGBA{0xcc, 0x00, 0x00, 0xff},
color.RGBA{0xcc, 0x00, 0x44, 0xff},
color.RGBA{0xcc, 0x00, 0x88, 0xff},
color.RGBA{0xdd, 0x00, 0x93, 0xff},
color.RGBA{0xdd, 0x00, 0xdd, 0xff},
color.RGBA{0xdd, 0x49, 0x00, 0xff},
color.RGBA{0xdd, 0x49, 0x49, 0xff},
color.RGBA{0xdd, 0x49, 0x93, 0xff},
color.RGBA{0xdd, 0x49, 0xdd, 0xff},
color.RGBA{0xdd, 0x93, 0x00, 0xff},
color.RGBA{0xdd, 0x93, 0x49, 0xff},
color.RGBA{0xdd, 0x93, 0x93, 0xff},
color.RGBA{0xdd, 0x93, 0xdd, 0xff},
color.RGBA{0xdd, 0xdd, 0x00, 0xff},
color.RGBA{0xdd, 0xdd, 0x49, 0xff},
color.RGBA{0xdd, 0xdd, 0x93, 0xff},
color.RGBA{0xdd, 0xdd, 0xdd, 0xff},
color.RGBA{0xdd, 0x00, 0x00, 0xff},
color.RGBA{0xdd, 0x00, 0x49, 0xff},
color.RGBA{0xee, 0x00, 0x4f, 0xff},
color.RGBA{0xee, 0x00, 0x9e, 0xff},
color.RGBA{0xee, 0x00, 0xee, 0xff},
color.RGBA{0xee, 0x4f, 0x00, 0xff},
color.RGBA{0xee, 0x4f, 0x4f, 0xff},
color.RGBA{0xee, 0x4f, 0x9e, 0xff},
color.RGBA{0xee, 0x4f, 0xee, 0xff},
color.RGBA{0xee, 0x9e, 0x00, 0xff},
color.RGBA{0xee, 0x9e, 0x4f, 0xff},
color.RGBA{0xee, 0x9e, 0x9e, 0xff},
color.RGBA{0xee, 0x9e, 0xee, 0xff},
color.RGBA{0xee, 0xee, 0x00, 0xff},
color.RGBA{0xee, 0xee, 0x4f, 0xff},
color.RGBA{0xee, 0xee, 0x9e, 0xff},
color.RGBA{0xee, 0xee, 0xee, 0xff},
color.RGBA{0xee, 0x00, 0x00, 0xff},
color.RGBA{0xff, 0x00, 0x00, 0xff},
color.RGBA{0xff, 0x00, 0x55, 0xff},
color.RGBA{0xff, 0x00, 0xaa, 0xff},
color.RGBA{0xff, 0x00, 0xff, 0xff},
color.RGBA{0xff, 0x55, 0x00, 0xff},
color.RGBA{0xff, 0x55, 0x55, 0xff},
color.RGBA{0xff, 0x55, 0xaa, 0xff},
color.RGBA{0xff, 0x55, 0xff, 0xff},
color.RGBA{0xff, 0xaa, 0x00, 0xff},
color.RGBA{0xff, 0xaa, 0x55, 0xff},
color.RGBA{0xff, 0xaa, 0xaa, 0xff},
color.RGBA{0xff, 0xaa, 0xff, 0xff},
color.RGBA{0xff, 0xff, 0x00, 0xff},
color.RGBA{0xff, 0xff, 0x55, 0xff},
color.RGBA{0xff, 0xff, 0xaa, 0xff},
color.RGBA{0xff, 0xff, 0xff, 0xff},
}
```
Plan9是一个256色的调色板,将24位的RGB色彩立方划分为4x4x4的子立方,每个子立方体都有4个色调。比起WebSafe,本方案通过将颜色立方划分成更少的方格减少了颜色的分辨率,以便用额外的空间换取增加强度的分辨率。结果是灰色有16个色调(4个灰色子立方每个有4个采样),初级和次级颜色各有13个色调(3个子立方每个有4个采样,再加上黑色),加上对色彩立方其余部分的合理色彩选择,实现了更好的连续色调的表现。
本调色板用于Plan9操作系统,参见[http://plan9.bell-labs.com/magic/man2html/6/color](http://plan9.bell-labs.com/magic/man2html/6/color)
```
var WebSafe = []color.Color{
color.RGBA{0x00, 0x00, 0x00, 0xff},
color.RGBA{0x00, 0x00, 0x33, 0xff},
color.RGBA{0x00, 0x00, 0x66, 0xff},
color.RGBA{0x00, 0x00, 0x99, 0xff},
color.RGBA{0x00, 0x00, 0xcc, 0xff},
color.RGBA{0x00, 0x00, 0xff, 0xff},
color.RGBA{0x00, 0x33, 0x00, 0xff},
color.RGBA{0x00, 0x33, 0x33, 0xff},
color.RGBA{0x00, 0x33, 0x66, 0xff},
color.RGBA{0x00, 0x33, 0x99, 0xff},
color.RGBA{0x00, 0x33, 0xcc, 0xff},
color.RGBA{0x00, 0x33, 0xff, 0xff},
color.RGBA{0x00, 0x66, 0x00, 0xff},
color.RGBA{0x00, 0x66, 0x33, 0xff},
color.RGBA{0x00, 0x66, 0x66, 0xff},
color.RGBA{0x00, 0x66, 0x99, 0xff},
color.RGBA{0x00, 0x66, 0xcc, 0xff},
color.RGBA{0x00, 0x66, 0xff, 0xff},
color.RGBA{0x00, 0x99, 0x00, 0xff},
color.RGBA{0x00, 0x99, 0x33, 0xff},
color.RGBA{0x00, 0x99, 0x66, 0xff},
color.RGBA{0x00, 0x99, 0x99, 0xff},
color.RGBA{0x00, 0x99, 0xcc, 0xff},
color.RGBA{0x00, 0x99, 0xff, 0xff},
color.RGBA{0x00, 0xcc, 0x00, 0xff},
color.RGBA{0x00, 0xcc, 0x33, 0xff},
color.RGBA{0x00, 0xcc, 0x66, 0xff},
color.RGBA{0x00, 0xcc, 0x99, 0xff},
color.RGBA{0x00, 0xcc, 0xcc, 0xff},
color.RGBA{0x00, 0xcc, 0xff, 0xff},
color.RGBA{0x00, 0xff, 0x00, 0xff},
color.RGBA{0x00, 0xff, 0x33, 0xff},
color.RGBA{0x00, 0xff, 0x66, 0xff},
color.RGBA{0x00, 0xff, 0x99, 0xff},
color.RGBA{0x00, 0xff, 0xcc, 0xff},
color.RGBA{0x00, 0xff, 0xff, 0xff},
color.RGBA{0x33, 0x00, 0x00, 0xff},
color.RGBA{0x33, 0x00, 0x33, 0xff},
color.RGBA{0x33, 0x00, 0x66, 0xff},
color.RGBA{0x33, 0x00, 0x99, 0xff},
color.RGBA{0x33, 0x00, 0xcc, 0xff},
color.RGBA{0x33, 0x00, 0xff, 0xff},
color.RGBA{0x33, 0x33, 0x00, 0xff},
color.RGBA{0x33, 0x33, 0x33, 0xff},
color.RGBA{0x33, 0x33, 0x66, 0xff},
color.RGBA{0x33, 0x33, 0x99, 0xff},
color.RGBA{0x33, 0x33, 0xcc, 0xff},
color.RGBA{0x33, 0x33, 0xff, 0xff},
color.RGBA{0x33, 0x66, 0x00, 0xff},
color.RGBA{0x33, 0x66, 0x33, 0xff},
color.RGBA{0x33, 0x66, 0x66, 0xff},
color.RGBA{0x33, 0x66, 0x99, 0xff},
color.RGBA{0x33, 0x66, 0xcc, 0xff},
color.RGBA{0x33, 0x66, 0xff, 0xff},
color.RGBA{0x33, 0x99, 0x00, 0xff},
color.RGBA{0x33, 0x99, 0x33, 0xff},
color.RGBA{0x33, 0x99, 0x66, 0xff},
color.RGBA{0x33, 0x99, 0x99, 0xff},
color.RGBA{0x33, 0x99, 0xcc, 0xff},
color.RGBA{0x33, 0x99, 0xff, 0xff},
color.RGBA{0x33, 0xcc, 0x00, 0xff},
color.RGBA{0x33, 0xcc, 0x33, 0xff},
color.RGBA{0x33, 0xcc, 0x66, 0xff},
color.RGBA{0x33, 0xcc, 0x99, 0xff},
color.RGBA{0x33, 0xcc, 0xcc, 0xff},
color.RGBA{0x33, 0xcc, 0xff, 0xff},
color.RGBA{0x33, 0xff, 0x00, 0xff},
color.RGBA{0x33, 0xff, 0x33, 0xff},
color.RGBA{0x33, 0xff, 0x66, 0xff},
color.RGBA{0x33, 0xff, 0x99, 0xff},
color.RGBA{0x33, 0xff, 0xcc, 0xff},
color.RGBA{0x33, 0xff, 0xff, 0xff},
color.RGBA{0x66, 0x00, 0x00, 0xff},
color.RGBA{0x66, 0x00, 0x33, 0xff},
color.RGBA{0x66, 0x00, 0x66, 0xff},
color.RGBA{0x66, 0x00, 0x99, 0xff},
color.RGBA{0x66, 0x00, 0xcc, 0xff},
color.RGBA{0x66, 0x00, 0xff, 0xff},
color.RGBA{0x66, 0x33, 0x00, 0xff},
color.RGBA{0x66, 0x33, 0x33, 0xff},
color.RGBA{0x66, 0x33, 0x66, 0xff},
color.RGBA{0x66, 0x33, 0x99, 0xff},
color.RGBA{0x66, 0x33, 0xcc, 0xff},
color.RGBA{0x66, 0x33, 0xff, 0xff},
color.RGBA{0x66, 0x66, 0x00, 0xff},
color.RGBA{0x66, 0x66, 0x33, 0xff},
color.RGBA{0x66, 0x66, 0x66, 0xff},
color.RGBA{0x66, 0x66, 0x99, 0xff},
color.RGBA{0x66, 0x66, 0xcc, 0xff},
color.RGBA{0x66, 0x66, 0xff, 0xff},
color.RGBA{0x66, 0x99, 0x00, 0xff},
color.RGBA{0x66, 0x99, 0x33, 0xff},
color.RGBA{0x66, 0x99, 0x66, 0xff},
color.RGBA{0x66, 0x99, 0x99, 0xff},
color.RGBA{0x66, 0x99, 0xcc, 0xff},
color.RGBA{0x66, 0x99, 0xff, 0xff},
color.RGBA{0x66, 0xcc, 0x00, 0xff},
color.RGBA{0x66, 0xcc, 0x33, 0xff},
color.RGBA{0x66, 0xcc, 0x66, 0xff},
color.RGBA{0x66, 0xcc, 0x99, 0xff},
color.RGBA{0x66, 0xcc, 0xcc, 0xff},
color.RGBA{0x66, 0xcc, 0xff, 0xff},
color.RGBA{0x66, 0xff, 0x00, 0xff},
color.RGBA{0x66, 0xff, 0x33, 0xff},
color.RGBA{0x66, 0xff, 0x66, 0xff},
color.RGBA{0x66, 0xff, 0x99, 0xff},
color.RGBA{0x66, 0xff, 0xcc, 0xff},
color.RGBA{0x66, 0xff, 0xff, 0xff},
color.RGBA{0x99, 0x00, 0x00, 0xff},
color.RGBA{0x99, 0x00, 0x33, 0xff},
color.RGBA{0x99, 0x00, 0x66, 0xff},
color.RGBA{0x99, 0x00, 0x99, 0xff},
color.RGBA{0x99, 0x00, 0xcc, 0xff},
color.RGBA{0x99, 0x00, 0xff, 0xff},
color.RGBA{0x99, 0x33, 0x00, 0xff},
color.RGBA{0x99, 0x33, 0x33, 0xff},
color.RGBA{0x99, 0x33, 0x66, 0xff},
color.RGBA{0x99, 0x33, 0x99, 0xff},
color.RGBA{0x99, 0x33, 0xcc, 0xff},
color.RGBA{0x99, 0x33, 0xff, 0xff},
color.RGBA{0x99, 0x66, 0x00, 0xff},
color.RGBA{0x99, 0x66, 0x33, 0xff},
color.RGBA{0x99, 0x66, 0x66, 0xff},
color.RGBA{0x99, 0x66, 0x99, 0xff},
color.RGBA{0x99, 0x66, 0xcc, 0xff},
color.RGBA{0x99, 0x66, 0xff, 0xff},
color.RGBA{0x99, 0x99, 0x00, 0xff},
color.RGBA{0x99, 0x99, 0x33, 0xff},
color.RGBA{0x99, 0x99, 0x66, 0xff},
color.RGBA{0x99, 0x99, 0x99, 0xff},
color.RGBA{0x99, 0x99, 0xcc, 0xff},
color.RGBA{0x99, 0x99, 0xff, 0xff},
color.RGBA{0x99, 0xcc, 0x00, 0xff},
color.RGBA{0x99, 0xcc, 0x33, 0xff},
color.RGBA{0x99, 0xcc, 0x66, 0xff},
color.RGBA{0x99, 0xcc, 0x99, 0xff},
color.RGBA{0x99, 0xcc, 0xcc, 0xff},
color.RGBA{0x99, 0xcc, 0xff, 0xff},
color.RGBA{0x99, 0xff, 0x00, 0xff},
color.RGBA{0x99, 0xff, 0x33, 0xff},
color.RGBA{0x99, 0xff, 0x66, 0xff},
color.RGBA{0x99, 0xff, 0x99, 0xff},
color.RGBA{0x99, 0xff, 0xcc, 0xff},
color.RGBA{0x99, 0xff, 0xff, 0xff},
color.RGBA{0xcc, 0x00, 0x00, 0xff},
color.RGBA{0xcc, 0x00, 0x33, 0xff},
color.RGBA{0xcc, 0x00, 0x66, 0xff},
color.RGBA{0xcc, 0x00, 0x99, 0xff},
color.RGBA{0xcc, 0x00, 0xcc, 0xff},
color.RGBA{0xcc, 0x00, 0xff, 0xff},
color.RGBA{0xcc, 0x33, 0x00, 0xff},
color.RGBA{0xcc, 0x33, 0x33, 0xff},
color.RGBA{0xcc, 0x33, 0x66, 0xff},
color.RGBA{0xcc, 0x33, 0x99, 0xff},
color.RGBA{0xcc, 0x33, 0xcc, 0xff},
color.RGBA{0xcc, 0x33, 0xff, 0xff},
color.RGBA{0xcc, 0x66, 0x00, 0xff},
color.RGBA{0xcc, 0x66, 0x33, 0xff},
color.RGBA{0xcc, 0x66, 0x66, 0xff},
color.RGBA{0xcc, 0x66, 0x99, 0xff},
color.RGBA{0xcc, 0x66, 0xcc, 0xff},
color.RGBA{0xcc, 0x66, 0xff, 0xff},
color.RGBA{0xcc, 0x99, 0x00, 0xff},
color.RGBA{0xcc, 0x99, 0x33, 0xff},
color.RGBA{0xcc, 0x99, 0x66, 0xff},
color.RGBA{0xcc, 0x99, 0x99, 0xff},
color.RGBA{0xcc, 0x99, 0xcc, 0xff},
color.RGBA{0xcc, 0x99, 0xff, 0xff},
color.RGBA{0xcc, 0xcc, 0x00, 0xff},
color.RGBA{0xcc, 0xcc, 0x33, 0xff},
color.RGBA{0xcc, 0xcc, 0x66, 0xff},
color.RGBA{0xcc, 0xcc, 0x99, 0xff},
color.RGBA{0xcc, 0xcc, 0xcc, 0xff},
color.RGBA{0xcc, 0xcc, 0xff, 0xff},
color.RGBA{0xcc, 0xff, 0x00, 0xff},
color.RGBA{0xcc, 0xff, 0x33, 0xff},
color.RGBA{0xcc, 0xff, 0x66, 0xff},
color.RGBA{0xcc, 0xff, 0x99, 0xff},
color.RGBA{0xcc, 0xff, 0xcc, 0xff},
color.RGBA{0xcc, 0xff, 0xff, 0xff},
color.RGBA{0xff, 0x00, 0x00, 0xff},
color.RGBA{0xff, 0x00, 0x33, 0xff},
color.RGBA{0xff, 0x00, 0x66, 0xff},
color.RGBA{0xff, 0x00, 0x99, 0xff},
color.RGBA{0xff, 0x00, 0xcc, 0xff},
color.RGBA{0xff, 0x00, 0xff, 0xff},
color.RGBA{0xff, 0x33, 0x00, 0xff},
color.RGBA{0xff, 0x33, 0x33, 0xff},
color.RGBA{0xff, 0x33, 0x66, 0xff},
color.RGBA{0xff, 0x33, 0x99, 0xff},
color.RGBA{0xff, 0x33, 0xcc, 0xff},
color.RGBA{0xff, 0x33, 0xff, 0xff},
color.RGBA{0xff, 0x66, 0x00, 0xff},
color.RGBA{0xff, 0x66, 0x33, 0xff},
color.RGBA{0xff, 0x66, 0x66, 0xff},
color.RGBA{0xff, 0x66, 0x99, 0xff},
color.RGBA{0xff, 0x66, 0xcc, 0xff},
color.RGBA{0xff, 0x66, 0xff, 0xff},
color.RGBA{0xff, 0x99, 0x00, 0xff},
color.RGBA{0xff, 0x99, 0x33, 0xff},
color.RGBA{0xff, 0x99, 0x66, 0xff},
color.RGBA{0xff, 0x99, 0x99, 0xff},
color.RGBA{0xff, 0x99, 0xcc, 0xff},
color.RGBA{0xff, 0x99, 0xff, 0xff},
color.RGBA{0xff, 0xcc, 0x00, 0xff},
color.RGBA{0xff, 0xcc, 0x33, 0xff},
color.RGBA{0xff, 0xcc, 0x66, 0xff},
color.RGBA{0xff, 0xcc, 0x99, 0xff},
color.RGBA{0xff, 0xcc, 0xcc, 0xff},
color.RGBA{0xff, 0xcc, 0xff, 0xff},
color.RGBA{0xff, 0xff, 0x00, 0xff},
color.RGBA{0xff, 0xff, 0x33, 0xff},
color.RGBA{0xff, 0xff, 0x66, 0xff},
color.RGBA{0xff, 0xff, 0x99, 0xff},
color.RGBA{0xff, 0xff, 0xcc, 0xff},
color.RGBA{0xff, 0xff, 0xff, 0xff},
}
```
WebSafe是一个216色的调色板,被早期版本的Netscape Navigator(一种浏览器)广泛使用,它也被称为Netcape色彩立方。细节参见[http://en.wikipedia.org/wiki/Web_colors#Web-safe_colors](http://en.wikipedia.org/wiki/Web_colors#Web-safe_colors)
- 库
- package achive
- package tar
- package zip
- package bufio
- package builtin
- package bytes
- package compress
- package bzip2
- package flate
- package gzip
- package lzw
- package zlib
- package container
- package heap
- package list
- package ring
- package crypto
- package aes
- package cipher
- package des
- package dsa
- package ecdsa
- package elliptic
- package hmac
- package md5
- package rand
- package rc4
- package rsa
- package sha1
- package sha256
- package sha512
- package subtle
- package tls
- package x509
- package pkix
- package database
- package sql
- package driver
- package encoding
- package ascii85
- package asn1
- package base32
- package base64
- package binary
- package csv
- package gob
- package hex
- package json
- package pem
- package xml
- package errors
- package expvar
- package flag
- package fmt
- package go
- package doc
- package format
- package parser
- package printer
- package hash
- package adler32
- package crc32
- package crc64
- package fnv
- package html
- package template
- package image
- package color
- package palette
- package draw
- package gif
- package jpeg
- package png
- package index
- package suffixarray
- package io
- package ioutil
- package log
- package syslog
- package math
- package big
- package cmplx
- package rand
- package mime
- package multipart
- package net
- package http
- package cgi
- package cookiejar
- package fcgi
- package httptest
- package httputil
- package pprof
- package mail
- package rpc
- package jsonrpc
- package smtp
- package textproto
- package url
- package os
- package exec
- package signal
- package user
- package path
- package filepath
- package reflect
- package regexp
- package runtime
- package cgo
- package debug
- package pprof
- package race
- package sort
- package strconv
- package strings
- package sync
- package atomic
- package text
- package scanner
- package tabwriter
- package template
- package time
- package unicode
- package utf16
- package utf8
- package unsafe