https://github.com/youhavethewrong/twenty-four
A 24-bit ANSI color library.
https://github.com/youhavethewrong/twenty-four
clojure colors terminal
Last synced: 4 months ago
JSON representation
A 24-bit ANSI color library.
- Host: GitHub
- URL: https://github.com/youhavethewrong/twenty-four
- Owner: youhavethewrong
- License: epl-1.0
- Created: 2017-08-18T19:39:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-01T21:50:00.000Z (about 8 years ago)
- Last Synced: 2025-07-13T09:13:40.613Z (6 months ago)
- Topics: clojure, colors, terminal
- Language: Clojure
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# twenty-four
[](https://clojars.org/twenty-four)
Make your terminal programs beautiful with
[twenty-four](https://github.com/youhavethewrong/twenty-four)! Just
wrap text with twenty-four.core/fg to change the foreground color and
twenty-four.core/bg to change the background color.
## Usage
(fg "taco" 234 44 19)
(bg "taco" 102 109 255)
(fg (bg "taco" 99 255 200) 10 44 209)
## License
Copyright © 2017 ESC
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.