Skip to content

jsageryd/colours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colours

License MIT

Prints xterm colours.

Usage

By default colours are sorted by RGB value. Use flags for different sorting:

$ colours           # Default RGB sorting
$ colours -dist=21  # Sort by distance from colour 21 (valid: 16-231)
$ colours -grey     # Sort by grayscale value
$ colours -harm=21  # Show colour harmonies for colour 21 (valid: 16-231)
$ colours -hue      # Sort by hue (rainbow order) with greys separated
$ colours -lum      # Sort by luminance (brightness)
$ colours -sat      # Sort by saturation (vibrancy)
$ colours -sim      # Sort by visual similarity groups
$ colours -temp     # Sort by temperature (warm/cool)

Installation

$ go install github.com/jsageryd/colours@latest

About

Prints xterm colours

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages