Skip to content

Commit ebef899

Browse files
committed
List supported combinations for color space conversion
1 parent a2f4d22 commit ebef899

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tinycss2/color4.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,12 @@ def to(self, space):
6161
6262
``None`` coordinates are always transformed into ``0`` values.
6363
64-
Many space combinations are not supported.
64+
Here are the supported combinations:
65+
66+
- from hsl and hwb to srgb;
67+
- from lab and lch to xyz-d50;
68+
- from oklab and oklch to xyz-d65;
69+
- from xyz-d50, xyz-d65, lch, oklab and oklch to lab.
6570
6671
"""
6772
coordinates = tuple(coordinate or 0 for coordinate in self.coordinates)

0 commit comments

Comments
 (0)