https://github.com/dhth/termpal
See how colors will look in your terminal.
https://github.com/dhth/termpal
Last synced: 9 months ago
JSON representation
See how colors will look in your terminal.
- Host: GitHub
- URL: https://github.com/dhth/termpal
- Owner: dhth
- Created: 2024-04-16T17:53:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T06:01:35.000Z (about 2 years ago)
- Last Synced: 2025-06-22T10:41:57.059Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 260 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# termpal
✨ Overview
---
`termpal` *(short for terminal palette)* is a dead simple CLI tool that shows
you how colors will look in your terminal.

💾 Installation
---
**go**:
```sh
go install github.com/dhth/termpal@latest
```
⚡️ Usage
---
```bash
echo '#fb4934\n#83a598\n#d3869b' | termpal
# or
termpal -colors='#fb4934 #83a598 #d3869b'
```
```
Flags:
-1 to print in a one column
-bg
show usage as a background color (default true)
-c string
space separated list of hex colors
-cols int
number of columns to show (default 8)
-fg
show usage as a foreground color
-fgc string
hex color to use for foreground (default "#282828")
-txt string
text to show in color
```