Skip to content
Snippets Groups Projects
Commit 8e0943b2 authored by wink's avatar wink
Browse files

Fix color.py - Issue #30

parent 8bae0edb
No related branches found
No related tags found
1 merge request!19Pycardium - add from_hsv / from_hsl to color.py [MANUAL MERGE]
...@@ -59,7 +59,7 @@ class Color(_ColorTuple): ...@@ -59,7 +59,7 @@ class Color(_ColorTuple):
return cls(red, green, blue) return cls(red, green, blue)
@classmethod @classmethod
def from_hsv(hue, saturation, value): def from_hsv(cls, hue, saturation, value):
""" """
Create a color from a HSV tuple (hue, saturation, value). Create a color from a HSV tuple (hue, saturation, value).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment