Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Colour ¶
type CommonColour ¶
type CommonColour struct { Colour `json:",omitempty"` CommonName string `json:"name,omitempty"` CommonHex string `json:"hex"` CommonReference string `json:"reference,omitempty"` CommonClosest []Colour `json:"closest,omitempty"` }
func (*CommonColour) AppendClosest ¶
func (hc *CommonColour) AppendClosest(c Colour) error
func (*CommonColour) Hex ¶
func (hc *CommonColour) Hex() string
func (*CommonColour) Name ¶
func (hc *CommonColour) Name() string
func (*CommonColour) Reference ¶
func (hc *CommonColour) Reference() string
func (*CommonColour) String ¶
func (hc *CommonColour) String() string
type CommonPalette ¶
type CommonPalette struct { Palette `json:",omitempty"` CommonReference string `json:"reference"` CommonColours []*CommonColour `json:"colours,omitempty"` }
func (*CommonPalette) Colours ¶
func (p *CommonPalette) Colours() []Colour
func (*CommonPalette) Reference ¶
func (p *CommonPalette) Reference() string
Click to show internal directories.
Click to hide internal directories.