1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

Bugfix: Fix COlourHSL.

This commit is contained in:
Starbeamrainbowlabs 2017-02-19 11:20:08 +00:00
parent 786f765f05
commit 2e12e55297

View file

@ -2,7 +2,7 @@
namespace SBRL.Utilities namespace SBRL.Utilities
{ {
class ColourHSL public class ColourHSL
{ {
/// <summary> /// <summary>
/// A random number generator.Used to generate random colours in RandomSaturated(). /// A random number generator.Used to generate random colours in RandomSaturated().
@ -139,7 +139,7 @@ namespace SBRL.Utilities
/// </summary> /// </summary>
public static ColourHSL RandomSaturated() public static ColourHSL RandomSaturated()
{ {
ColourHSL result = new ColourHSL() { return new ColourHSL() {
Hue = random.Next(0, 360), Hue = random.Next(0, 360),
Lightness = random.Next(45, 55), Lightness = random.Next(45, 55),
Saturation = random.Next(90, 100) Saturation = random.Next(90, 100)