package colorful
func ( int, RandInterface) ( []Color) {
= make([]Color, )
for := 0; < ; ++ {
[] = Hsv(float64()*(360.0/float64()), 0.8+.Float64()*0.2, 0.65+.Float64()*0.2)
}
return
}
func ( int) ( []Color) {
return FastHappyPaletteWithRand(, getDefaultGlobalRand())
}
func ( int, RandInterface) ([]Color, error) {
:= func(, , float64) bool {
, , := LabToHcl(, , )
return 0.3 <= && 0.4 <= && <= 0.8
}
return SoftPaletteExWithRand(, SoftPaletteSettings{, 50, true}, )
}
func ( int) ([]Color, error) {
return HappyPaletteWithRand(, getDefaultGlobalRand())
}