Skip to content

Commit

Permalink
fix RGB tool
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Mar 14, 2021
1 parent 2105030 commit 579aa21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions color.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ func (c *HSV) RGB() *RGB {
g = c.V
b = v3
case 3:
r = v1
g = v2
b = c.V
case 4:
r = v3
g = v1
b = c.V
Expand Down

0 comments on commit 579aa21

Please sign in to comment.