Documentation
¶
Index ¶
- type Color
- func (clr *Color) B() uint8
- func (clr *Color) G() uint8
- func (clr *Color) Hex() string
- func (clr *Color) R() uint8
- func (clr *Color) RGB() (r, g, b uint8)
- func (clr *Color) SetFromRGB(rgb rgb.Color)
- func (clr *Color) SetHex(hex string) error
- func (clr *Color) SetRGB(r, g, b uint8)
- func (clr *Color) ToRGB() rgb.Color
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
Color represents a color in the HSV color space.
func MustHexHSV ¶
func (*Color) SetFromRGB ¶
Click to show internal directories.
Click to hide internal directories.