We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7aba979 + 67a445b commit 9493079Copy full SHA for 9493079
colortest.py
@@ -163,7 +163,7 @@ def printColorsByDeltaOnBg(background, delta):
163
if contrast >= delta:
164
foreground = str(i)
165
_background = str(background)
166
- color = f'\033[38;5;{foreground}m\033[48;5;{_background}m {foreground} on {_background}\033[0m. Delta: {round(contrast)}'
+ color = f'\033[38;5;{foreground}m\033[48;5;{_background}m {foreground} on {_background}\033[0m. Delta: {round(contrast)} '
167
sys.stdout.write(color.ljust(4))
168
169
0 commit comments