Versions in this module Expand all Collapse all v1 v1.1.0 Oct 14, 2024 Changes in this version + const Black + const Blue + const Cyan + const Gray + const Green + const Magenta + const None + const Red + const Silver + const White + const Yellow + type Color uint32 + func MakeRGB(R uint8, G uint8, B uint8) Color + func MakeRGBA(R uint8, G uint8, B uint8, A uint8) Color + func ParseHexa(hex string) *Color + func (c Color) Alpha() uint8 + func (c Color) Blue() uint8 + func (c Color) Darken(factor float32) Color + func (c Color) GrayScale() Color + func (c Color) Green() uint8 + func (c Color) Hexa() string + func (c Color) Lighten(factor float32) Color + func (c Color) Opacify(opacityfactor float32) Color + func (c Color) RGB() (R uint8, G uint8, B uint8) + func (c Color) RGBA() (R uint8, G uint8, B uint8, A uint8) + func (c Color) Red() uint8