color comment
This commit is contained in:
parent
7c295c1942
commit
8e0feef0da
1 changed files with 2 additions and 1 deletions
|
|
@ -186,7 +186,8 @@ func Hex2RGB(hex string) (RGB, error) {
|
|||
return rgb, nil
|
||||
}
|
||||
|
||||
// https://www.w3schools.com/cssref/css_colors.php
|
||||
// https://www.w3.org/TR/css-color-3/#svg-color
|
||||
// https://github.com/gookit/color/blob/master/convert.go#LL808C27-L808C27
|
||||
var namedRgbMap = map[string][]uint8{
|
||||
"aliceblue": {240, 248, 255}, // #F0F8FF
|
||||
"antiquewhite": {250, 235, 215}, // #FAEBD7
|
||||
|
|
|
|||
Loading…
Reference in a new issue