Bugfix: Fix COlourHSL.
This commit is contained in:
parent
786f765f05
commit
2e12e55297
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue