Skip to content

danielvladco/palette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

palette

go library for working with colors

Its a library for manipulating colors. Inspired by tinycolor.js. Available functions:

  • Parse // Parses a string to a color. Can be a hex3, hex4, hex6, hex8, rgb, rgba representation.
  • Random // Generates a random color
  • Lighten/Darken
  • Saturate/Desaturate
  • Greyscale
  • Spin
  • Tetrad
  • Triad
  • Brighten
  • Mix
  • Multiply
  • ToHex