Skip to content

Commit 9cf3e28

Browse files
stuff
1 parent 0d131de commit 9cf3e28

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,24 @@ A script that prints ANSI color combos to the terminal.
44

55
```
66
usage: colortest.py [-h]
7-
{dullFg,brightFg,dullBg,brightBg,allFg,allBg,allFgBg,getFreaky,test,contrast}
7+
{dullFg,brightFg,dullBg,brightBg,allFg,allBg,allFgBg,getFreaky,test,contrast,filterContrast,printGoodContrasts}
88
...
99
1010
optional arguments:
1111
-h, --help show this help message and exit
1212
1313
commands:
14-
{dullFg,brightFg,dullBg,brightBg,allFg,allBg,allFgBg,getFreaky,test,contrast}
14+
{dullFg,brightFg,dullBg,brightBg,allFg,allBg,allFgBg,getFreaky,test,contrast,filterContrast,printGoodContrasts}
1515
dullFg display the 8 dull foreground colors
1616
brightFg display the 8 bright foreground colors
1717
dullBg display the 8 dull background colors
1818
brightBg display the 8 bright background colors
1919
allFg display 256 foreground colors
2020
allBg display 256 background colors
21-
allFgBg display all 256 foreground and background colors
22-
separately
23-
getFreaky Display every combination of foreground and background
24-
color
25-
test Enter a foreground code and a background code and test
26-
it out
21+
allFgBg display all 256 foreground and background colors separately
22+
getFreaky Display every combination of foreground and background color
23+
test Enter a foreground code and a background code and test it out
2724
contrast Print out a color test and get the contrast values
28-
```
25+
filterContrast Print out all the combos that meet a given delta.
26+
printGoodContrasts Print out all the combos on a certain bg of a specified delta.
27+
```

colortest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/Users/accomazzod/Projects/web/python_colors/bin/python3
1+
#!/home/david/projects/python_colors/bin/python3
22
""" Resources
33
* https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html
44
* Good resource on how to manipulate terminal commands with Python

0 commit comments

Comments
 (0)