Skip to content

Commit 579aa21

Browse files
committed
fix RGB tool
1 parent 2105030 commit 579aa21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

color.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ func (c *HSV) RGB() *RGB {
4040
g = c.V
4141
b = v3
4242
case 3:
43+
r = v1
44+
g = v2
45+
b = c.V
46+
case 4:
4347
r = v3
4448
g = v1
4549
b = c.V

0 commit comments

Comments
 (0)