summaryrefslogtreecommitdiff
path: root/internal/colors/hsl.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/colors/hsl.go')
-rw-r--r--internal/colors/hsl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/colors/hsl.go b/internal/colors/hsl.go
index 2a31f81..51a1785 100644
--- a/internal/colors/hsl.go
+++ b/internal/colors/hsl.go
@@ -12,7 +12,7 @@ type HSL struct {
}
func (h HSL) String() string {
- return fmt.Sprintf("hsl(%d, %d, %d)", h.H, h.S, h.L)
+ return fmt.Sprintf("hsl(%d, %d%%, %d%%)", h.H, h.S, h.L)
}
func (h HSL) ToPrecise() PreciseColor {