added ability to change hits panel color based on thresholds