summaryrefslogtreecommitdiff
path: root/internal/colors/cmyk.go
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-24 01:10:15 -0500
committerGitHub <noreply@github.com>2024-11-24 01:10:15 -0500
commitd92c9c601e1ef8c183562c94141db493de50921f (patch)
tree6caffa28f14f92be4711c91887c83db74f4460af /internal/colors/cmyk.go
parentf66e718496fdc5c9a9bac1c281ba8e9f3f825791 (diff)
Remove useless code and implement clipboard functionality (#1)
* Remove dead code * Implement clipboard * Improve Stringer color interfaces
Diffstat (limited to 'internal/colors/cmyk.go')
-rw-r--r--internal/colors/cmyk.go2
1 files changed, 1 insertions, 1 deletions
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 {