Versions in this module Expand all Collapse all v0 v0.1.1 Aug 4, 2026 Changes in this version + func Contrast(a, b Color) float64 type Color + func Mix(a, b Color, pct float64) Color + func (c Color) Luminance() float64 + func (c Color) Over(backdrop Color) Color + func (c Color) RGB() (r, g, b int, err error) + func (c Color) RGBA() (r, g, b, a int, err error) v0.0.1 Aug 4, 2026 Changes in this version + type Color struct + func New() *Color