Add a color span to categories in caption (fix #40)