Skip to content
/ rgb2ansi Public

hexadecimal triplet to 256 color equivalent

Notifications You must be signed in to change notification settings

dcat/rgb2ansi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

rgb2ansithanks xero

hexadecimal triplet to 256 color equivalent

usage

rgb2ansi -n ff0000

to get the numeric value of the 256 color equivalent of #ff0000 (red).

rgb2ansi -b ff0000

to set the background to red equivalent.

rgb2ansi -f ff0000

to set the foreground to red equivalent.

About

hexadecimal triplet to 256 color equivalent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published