Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ix/calico

cat, but for colors 😼
https://github.com/ix/calico

color gimp haskell krita palette

Last synced: about 2 months ago
JSON representation

cat, but for colors 😼

Awesome Lists containing this project

README

        

# Calico :cat2:
Calico is a small utility written in Haskell which is `cat` but for colors.

It accepts input in the form of an Aseprite palette, a GPL palette, or delimited hex colors.

Its output is highly configurable, and it is able to convert between RGB and HSL.

It also features a primitive command language for modifying the hue, saturation and luminosity values of all colors in the palette.

# Demonstration

![](meta/calico.gif)

# Bash, Fish and Zsh completion
Thanks to `optparse-applicative`, calico can automatically generate completion scripts for various shells.
Instructions can be found [here](https://github.com/pcapriotti/optparse-applicative#bash-zsh-and-fish-completions) and require minimal effort on the user's part.

# Motivations

`calico` was born out of a frustration with having to open a full image editor
in order to view the colors contained within a palette. It makes use of true-color terminal
escape codes to display the colors with accuracy on the command line.

# Further features
Feel free to request changes or features under the issues manager.