w3 official source
This commit is contained in:
parent
2fb0df3563
commit
3427ea1717
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ func Hex2RGB(hex string) (RGB, error) {
|
||||||
return rgb, nil
|
return rgb, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/CSS/named-color
|
// https://www.w3.org/TR/css-color-4/#svg-color
|
||||||
var namedRgbMap = map[string][]uint8{
|
var namedRgbMap = map[string][]uint8{
|
||||||
"aliceblue": {240, 248, 255}, // #F0F8FF
|
"aliceblue": {240, 248, 255}, // #F0F8FF
|
||||||
"antiquewhite": {250, 235, 215}, // #FAEBD7
|
"antiquewhite": {250, 235, 215}, // #FAEBD7
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue