jake-stewart/color256

Generate a full 256 palette from base16 your colors

Python

175

44 commits

updated Apr 2, 2026

See the code

README

256 color

Generate a full 256 palette from base16 your colors. Terminals should do this by default.

https://github.com/user-attachments/assets/d44f3955-e6b7-4942-9b91-3f9dc907e0dc

Usage

# apply the generated 256-palette
# since no theme is specified, it will detect and use your terminal theme
python3 color256.py --apply

# view a theme
python3 color256.py themes/century.dark.txt

# apply a theme temporarily
python3 color256.py --apply themes/century.dark.txt

# generate a theme
python3 color256.py --generate kitty themes/century.dark.txt > century.dark.conf

Use python3 color256.py --help for more options and supported terminals.

Public Domain

All code in this repository is public domain. Use it, modify it, sell it. You do not need to credit me in any way.

Contributors

jake-stewart

42 commits

jpeggdev

1 commits

TheDecryptor

1 commits

jake-stewart/color256

Generate a full 256 palette from base16 your colors

Python

175

44 commits

updated Apr 2, 2026

See the code

README

256 color

Generate a full 256 palette from base16 your colors. Terminals should do this by default.

https://github.com/user-attachments/assets/d44f3955-e6b7-4942-9b91-3f9dc907e0dc

Usage

# apply the generated 256-palette
# since no theme is specified, it will detect and use your terminal theme
python3 color256.py --apply

# view a theme
python3 color256.py themes/century.dark.txt

# apply a theme temporarily
python3 color256.py --apply themes/century.dark.txt

# generate a theme
python3 color256.py --generate kitty themes/century.dark.txt > century.dark.conf

Use python3 color256.py --help for more options and supported terminals.

Public Domain

All code in this repository is public domain. Use it, modify it, sell it. You do not need to credit me in any way.

Contributors

jake-stewart

42 commits

jpeggdev

1 commits

TheDecryptor

1 commits

Languages

Python

70.6%

Vim Script

19.2%

Lua

10.2%