command
module
Version:
v0.0.0-...-6af8b64
Opens a new window with list of versions in this module.
Published: Jun 18, 2025
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Colours

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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.