summaryrefslogtreecommitdiff
path: root/pygments/style.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/style.py')
-rw-r--r--pygments/style.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/style.py b/pygments/style.py
index 470fe99f..0d9e6eb6 100644
--- a/pygments/style.py
+++ b/pygments/style.py
@@ -26,7 +26,7 @@ class StyleMeta(type):
if len(col) == 6:
return col
elif len(col) == 3:
- return col[0]+'0'+col[1]+'0'+col[2]+'0'
+ return col[0]*2 + col[1]*2 + col[2]*2
elif text == '':
return ''
assert False, "wrong color format %r" % text