From d92c9c601e1ef8c183562c94141db493de50921f Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 24 Nov 2024 01:10:15 -0500 Subject: Remove useless code and implement clipboard functionality (#1) * Remove dead code * Implement clipboard * Improve Stringer color interfaces --- internal/colors/hsl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/colors/hsl.go') 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 { -- cgit v1.2.3