()
| 588 | } |
| 589 | |
| 590 | func (color Color) Accent() Color { |
| 591 | accentAmount := uint8(40) |
| 592 | if color[0] > accentAmount || color[1] > accentAmount || color[2] > accentAmount { |
| 593 | return color.Sub(accentAmount) |
| 594 | } |
| 595 | return color.Add(accentAmount) |
| 596 | } |
| 597 | |
| 598 | func (color Color) Mult(scalar float32) Color { |
| 599 |
no test coverage detected