A collection of established color values using color.NRGBA (non-alpha-premultiplied).
import "gio.tools/colors" // Material colors such as... colors.Pink200 colors.AmberA400 colors.BlueGrey500 // Apple foundation colors such as... colors.IOSDarkBlue colors.MacOSLightPurple colors.WatchOSTeal // CSS colors such as... colors.AliceBlue colors.DarkMagenta colors.LimeGreen colors.Red
Why not alpha-premultiplied (color.RGBA)?
- Gio APIs use
color.NRGBA, and the primary intent of this package is for use with Gio. - As mentioned in the commit description when Gio switched, most APIs use non-premultiplied for the sake of clarity.