color coding habit lines to match state