Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SevenColor ¶
type SevenColor struct {
R, G, B uint8
}
color in 7 bits
func FromColor ¶
func FromColor(color color.Color) SevenColor
func (SevenColor) HSL ¶
func (bc SevenColor) HSL() color.HSL
func (SevenColor) HSV ¶
func (bc SevenColor) HSV() color.HSV
func (SevenColor) IsSame ¶
func (bc SevenColor) IsSame(other SevenColor) bool
func (SevenColor) RGB ¶
func (bc SevenColor) RGB() color.RGB
Click to show internal directories.
Click to hide internal directories.