summaryrefslogtreecommitdiff
path: root/pywal/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'pywal/util.py')
-rw-r--r--pywal/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pywal/util.py b/pywal/util.py
index 37df3a8..6f9376a 100644
--- a/pywal/util.py
+++ b/pywal/util.py
@@ -20,8 +20,7 @@ class Color:
@property
def rgb(self):
"""Convert a hex color to rgb."""
- red, green, blue = hex_to_rgb(self.hex_color)
- return "%s,%s,%s" % (red, green, blue)
+ return "%s,%s,%s" % (*hex_to_rgb(self.hex_color))
@property
def xrgba(self):