def METHOD_NAME(self):
    if self.score < 40:
        return "#e05f21"
    elif self.score < 50:
        return "#f9921c"
    elif self.score < 60:
        return "#a6a329"
    elif self.score < 70:
        return "#44a839"
    else:  # score >= 70
        return "#398c7a"