Added white and gray to colors list.

This commit is contained in:
Unknown
2018-03-21 22:13:17 -04:00
parent 71219e64d9
commit daac5bf3d2

View File

@@ -9,6 +9,11 @@ import (
"strings"
)
var Colors map[string]Color = map[string]Color{
"Gray": &RGB{128, 128, 128},
"White": &RGB{255, 255, 255},
}
// Color represents a color.
type Color interface {
RGB() [3]int