diff --git a/src/libprs500/ebooks/lrf/html/color_map.py b/src/libprs500/ebooks/lrf/html/color_map.py index 07660f30c7..0dc123dd9a 100644 --- a/src/libprs500/ebooks/lrf/html/color_map.py +++ b/src/libprs500/ebooks/lrf/html/color_map.py @@ -119,7 +119,7 @@ def lrs_color(html_color): if match: return '0x00'+hex(int(match.group(1)))[2:]+hex(int(match.group(2)))[2:]+hex(int(match.group(3)))[2:] if hcol in NAME_MAP: - return NAME_MAP[hcol] + return NAME_MAP[hcol].replace('#', '0x00') return '0x00000000' \ No newline at end of file