From 2b83dae1f481b998e2cf47d0a3008f5e9cea3b78 Mon Sep 17 00:00:00 2001 From: faiface Date: Sat, 15 Apr 2017 18:04:03 +0200 Subject: [PATCH] fix typo in Alpha doc --- color.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/color.go b/color.go index d14c6ab..6b88577 100644 --- a/color.go +++ b/color.go @@ -17,7 +17,7 @@ func RGB(r, g, b float64) RGBA { return RGBA{r, g, b, 1} } -// Alpha returns a while RGBA color with the given alpha component. +// Alpha returns a white RGBA color with the given alpha component. func Alpha(a float64) RGBA { return RGBA{a, a, a, a} }