Skip to content

Commit 447a124

Browse files
committed
Allow float HSV values. Fixes #81
1 parent 7468cee commit 447a124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openrgb/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def unpack(cls, data: Iterator[int], version: int, *args) -> RGBColor:
187187
return cls(r, g, b)
188188

189189
@classmethod
190-
def fromHSV(cls, hue: int, saturation: int, value: int) -> RGBColor:
190+
def fromHSV(cls, hue: float, saturation: float, value: float) -> RGBColor:
191191
'''
192192
Creates a RGBColor object from HSV values using colorsys
193193
'''

0 commit comments

Comments
 (0)