Versions in this module Expand all Collapse all v0 v0.1.0 Aug 20, 2023 Changes in this version + var Basic = []Colour + var HTML = []Colour + var NTC = []Colour + var Pantone = []Colour + var ROYGBIV = []Colour + type Colour struct + Colour colorful.Color + Distance float64 + Name string + func (c Colour) Hex() string + func (c Colour) String() string + type Results struct + Basic []Colour + HTML []Colour + NTC []Colour + Pantone []Colour + ROYBGIV []Colour + func FromHex(hex string) (Results, error) + func FromRGB(r, g, b uint8) (Results, error) + func FromRGBA(r, g, b, a uint8) (Results, error) + func (r Results) ClosestName() string