8000 GitHub - telnet23/py256color: Convert between 256 colors and RGB
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

telnet23/py256color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

py256color

Convert between 256 colors and RGB.

The implementation is based on colour.c from tmux.

Usage

from py256color import from_rgb, to_rgb

from_rgb(42, 84, 126)  # 24

to_rgb(96)  # (135, 95, 135)

About

Convert between 256 colors and RGB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0