Documentation ¶
Index ¶
- Variables
- func HSL(h, s, l float32) color.NRGBA
- func HSLA(h, s, l, a float32) color.NRGBA
- func NRGBAHex(hex uint32) color.NRGBA
- func RGB(r, g, b float32) color.NRGBA
- func RGBA(r, g, b, a float32) color.NRGBA
- func RGBAFloat(c color.NRGBA) (r, g, b, a float32)
- func RGBALerp(a, b color.NRGBA, p float32) color.NRGBA
Constants ¶
This section is empty.
Variables ¶
View Source
var ( White = color.NRGBA{0xFF, 0xFF, 0xFF, 0xFF} Black = color.NRGBA{0x00, 0x00, 0x00, 0xFF} Red = color.NRGBA{0xFF, 0x00, 0x00, 0xFF} Green = color.NRGBA{0x00, 0xFF, 0x00, 0xFF} Blue = color.NRGBA{0x00, 0x00, 0xFF, 0xFF} Yellow = color.NRGBA{0xFF, 0xFF, 0x00, 0xFF} Transparent = color.NRGBA{0xFF, 0xFF, 0xFF, 0x00} )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.