We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e3364 commit bb5213aCopy full SHA for bb5213a
src/converters/hexadec.py
@@ -11,6 +11,11 @@ def hex_to_dec_primaries(
11
) -> Union[list[int], list[float]]:
12
"""
13
Splits hex color code into three decimal values of the primary colors.
14
+
15
+ Args:
16
+ color (str): Color code string (hex), can include '#' prefix
17
+ arithmetic (bool, optional): If True returns float values between 0 and 1.
18
+ Defaults to False.
19
20
Returns:
21
Union[list[int], list[float]]: List of three integers (0-255) or floats (0-1)
0 commit comments