diff --git a/backgroundConicGradient.go b/backgroundConicGradient.go index 05444a4..c441fe9 100644 --- a/backgroundConicGradient.go +++ b/backgroundConicGradient.go @@ -72,6 +72,11 @@ func (point *BackgroundGradientAngle) color(session Session) (Color, bool) { case Color: return color, true + + default: + if n, ok := isInt(color); ok { + return Color(n), true + } } } return 0, false