diff --git a/hyfetch/color_util.py b/hyfetch/color_util.py index bc00395f..1cfd6df8 100644 --- a/hyfetch/color_util.py +++ b/hyfetch/color_util.py @@ -218,3 +218,6 @@ class RGB: # Convert back to RGB return hsl.rgb() + + def is_light(self): + return self.hsl().l > 0.5