Added ability to customize legend color boxes