This commit is contained in:
Codeberg 2019-05-28 12:55:17 +02:00 committed by Holger Waechtler
parent cb12883b6f
commit 88ab3449de

View File

@ -204,7 +204,7 @@ func (c *RGB) darkerThan(ref RGB, delta uint8) string {
} }
func (c RGB) withAlpha(alpha float64) string { func (c RGB) withAlpha(alpha float64) string {
return fmt.Sprintf("#%02x%02x%02x", c.r, c.g, c.b, uint8(255*alpha)) return fmt.Sprintf("#%02x%02x%02x%02x", c.r, c.g, c.b, uint8(255*alpha))
} }
func maleAvatar(seed uint64) string { func maleAvatar(seed uint64) string {