We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da49f61 commit 81f30a5Copy full SHA for 81f30a5
pyfiglet/__init__.py
@@ -864,7 +864,7 @@ def getFonts(self):
864
def color_to_ansi(color, isBackground):
865
if not color:
866
return ''
867
-
+ color = color.upper()
868
if color.count(';') > 0 and color.count(';') != 2:
869
raise InvalidColor('Specified color \'{}\' not a valid color in R;G;B format')
870
elif color.count(';') == 0 and color not in COLOR_CODES:
0 commit comments