github.com/lucasb-eyer/go-colorful.Color.IsValid (method, view implemented interface methods)
4 uses
github.com/lucasb-eyer/go-colorful (current package)
colorgens.go#L21: for c = randomWarmWithRand(rand); !c.IsValid(); c = randomWarmWithRand(rand) {
colorgens.go#L53: for c = randomPimpWithRand(rand); !c.IsValid(); c = randomPimpWithRand(rand) {
colors.go#L67: func (c Color) IsValid() bool {
soft_palettegen.go#L39: return c.IsValid() && (settings.CheckColor == nil || settings.CheckColor(col.L, col.A, col.B))
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)