package colorful

// Uses the HSV color space to generate colors with similar S,V but distributed
// evenly along their Hue. This is fast but not always pretty.
// If you've got time to spare, use Lab (the non-fast below).
func ( int,  RandInterface) ( []Color) {
	 = make([]Color, )

	for  := 0;  < ; ++ {
		[] = Hsv(float64()*(360.0/float64()), 0.55+.Float64()*0.2, 0.35+.Float64()*0.2)
	}
	return
}

func ( int) ( []Color) {
	return FastWarmPaletteWithRand(, getDefaultGlobalRand())
}

func ( int,  RandInterface) ([]Color, error) {
	 := func(, ,  float64) bool {
		, ,  := LabToHcl(, , )
		return 0.1 <=  &&  <= 0.4 && 0.2 <=  &&  <= 0.5
	}
	return SoftPaletteExWithRand(, SoftPaletteSettings{, 50, true}, )
}

func ( int) ([]Color, error) {
	return WarmPaletteWithRand(, getDefaultGlobalRand())
}