summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/Color.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/bukkit/Color.java')
-rw-r--r--src/main/java/org/bukkit/Color.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/Color.java b/src/main/java/org/bukkit/Color.java
index 76ff651f..83927dde 100644
--- a/src/main/java/org/bukkit/Color.java
+++ b/src/main/java/org/bukkit/Color.java
@@ -113,7 +113,7 @@ public final class Color implements ConfigurationSerializable {
* @param green integer from 0-255
* @param blue integer from 0-255
* @return a new Color object for the red, green, blue
- * @throws IllegalArgumentException if any value is strictly >255 or <0
+ * @throws IllegalArgumentException if any value is strictly {@literal >255 or <0}
*/
public static Color fromRGB(int red, int green, int blue) throws IllegalArgumentException {
return new Color(red, green, blue);
@@ -126,7 +126,7 @@ public final class Color implements ConfigurationSerializable {
* @param green integer from 0-255
* @param red integer from 0-255
* @return a new Color object for the red, green, blue
- * @throws IllegalArgumentException if any value is strictly >255 or <0
+ * @throws IllegalArgumentException if any value is strictly {@literal >255 or <0}
*/
public static Color fromBGR(int blue, int green, int red) throws IllegalArgumentException {
return new Color(red, green, blue);