Adding color codes to pattern boxes, still WIP