Skip to content

Commit

Permalink
correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Aug 8, 2024
1 parent c8e18d3 commit f58d067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coloraide/spaces/hwb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@


def hsv_to_hwb(hsv: Vector) -> Vector:
"""HWB to sRGB."""
"""HSV to HWB."""

h, s, v = hsv
return [util.constrain_hue(h), (1 - s) * v, 1 - v]


def hwb_to_hsv(hwb: Vector) -> Vector:
"""HWB to sRGB."""
"""HWB to HSV."""

h, w, b = hwb
wb = w + b
Expand Down

0 comments on commit f58d067

Please sign in to comment.