Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 πΌ
- Host: GitHub
- URL: https://github.com/ix/calico
- Owner: ix
- License: bsd-3-clause
- Created: 2019-07-23T19:16:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-16T13:21:06.000Z (over 4 years ago)
- Last Synced: 2024-08-03T17:11:17.964Z (5 months ago)
- Topics: color, gimp, haskell, krita, palette
- Language: Haskell
- Homepage:
- Size: 660 KB
- Stars: 127
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesomeness - Calico - A color-aware replacement for `cat`. (π¨ Design / βΈοΈ Kubernetes)
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.