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/cmyk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/colors/cmyk.go') diff --git a/internal/colors/cmyk.go b/internal/colors/cmyk.go index b5ef223..30bc290 100644 --- a/internal/colors/cmyk.go +++ b/internal/colors/cmyk.go @@ -13,7 +13,7 @@ type CMYK struct { } func (c CMYK) String() string { - return fmt.Sprintf("cmyk(%d, %d, %d, %d)", c.C, c.M, c.Y, c.K) + return fmt.Sprintf("cmyk(%d%%, %d%%, %d%%, %d%%)", c.C, c.M, c.Y, c.K) } func (c CMYK) ToPrecise() PreciseColor { -- cgit v1.2.3