diff --git a/src/main/java/ByteGrayColor.java b/src/main/java/ByteGrayColor.java
index c1dc9e68eab895f3057e79febd5e2f26a274c0dd..da536f0fec5c1289bef2541f92c3a5e5361c0745 100644
--- a/src/main/java/ByteGrayColor.java
+++ b/src/main/java/ByteGrayColor.java
@@ -40,12 +40,16 @@ public class ByteGrayColor implements GrayColor {
         return new Color(component, component, component, OPACITY);
     }
 
-
     @Override
     public int compareTo(GrayColor o) {
         return Double.compare(this.getLuminosity(), o.getLuminosity());
     }
 
+    @Override
+    public GrayColor invert() {
+        return new ByteGrayColor(MAXIMUM_GRAY_LEVEL - this.grayLevel);
+    }
+
     @Override
     public boolean equals(Object o) {
         if (this == o) return true;