public Color4 ColorHSV(float hueMin, float hueMax, float saturationMin, float saturationMax, float valueMin, float valueMax, float alphaMin, float alphaMax) { float h = MathUtils.Lerp(hueMin, hueMax, this.NextFloat()); float s = MathUtils.Lerp(saturationMin, saturationMax, this.NextFloat()); float v = MathUtils.Lerp(valueMin, valueMax, this.NextFloat()); Color4 result = Color4.HsvtoRgb(h, s, v, true); result.a = MathUtils.Lerp(alphaMin, alphaMax, this.NextFloat()); return(result); }