Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { // RequiredBits returns the minimum amount of bits required to map the entire colorspace provided // by this generator. RequiredBits() uint // Generate returns a color for a given arbitrarily sized code. Generate(code uint64) colorful.Color }
Generator provides colors for icons based on an arbitrary input value as found within a hash.
Click to show internal directories.
Click to hide internal directories.