Fixed icon creation bug

Icons were not created with the correct format for line and fill colour