diff --git a/util/parsing.go b/util/parsing.go index 88576ed..79df9ea 100644 --- a/util/parsing.go +++ b/util/parsing.go @@ -53,8 +53,7 @@ func ParseHexColorFast(s string) (c color.RGBA, err error) { c.A = 0xff if s[0] != '#' { - err = errors.New(fmt.Sprintf("`%s` must start with #", s)) - return + s = "#" + s } hexToByte := func(b byte) byte {