diff --git a/NewHorizons/Utility/MColor.cs b/NewHorizons/Utility/MColor.cs
index 8c1e44dd..93d1781b 100644
--- a/NewHorizons/Utility/MColor.cs
+++ b/NewHorizons/Utility/MColor.cs
@@ -17,26 +17,26 @@ namespace NewHorizons.Utility
///
/// The red component of this colour
///
- [System.ComponentModel.DataAnnotations.Range(0f, int.MaxValue)]
+ [System.ComponentModel.DataAnnotations.Range(0, int.MaxValue)]
public int r;
///
/// The green component of this colour
///
- [System.ComponentModel.DataAnnotations.Range(0f, int.MaxValue)]
+ [System.ComponentModel.DataAnnotations.Range(0, int.MaxValue)]
public int g;
///
/// The blue component of this colour
///
- [System.ComponentModel.DataAnnotations.Range(0f, int.MaxValue)]
+ [System.ComponentModel.DataAnnotations.Range(0, int.MaxValue)]
public int b;
///
/// The alpha (opacity) component of this colour
///
- [System.ComponentModel.DataAnnotations.Range(0f, 255f)]
- [DefaultValue(255f)]
+ [System.ComponentModel.DataAnnotations.Range(0, 255)]
+ [DefaultValue(255)]
public int a;
public Color ToColor() => new Color(r / 255f, g / 255f, b / 255f, a / 255f);