def score_emblem_css(self):
    hue = min([1, max(0, float(GREEN_SCORE - self.score) /
                               (RED_SCORE - GREEN_SCORE))])
    
    mainbg = hsv_to_rgb(0.3 - hue * 0.3, 0.9, 0.75)
    lightbg = hsv_to_rgb(0.3 - hue * 0.3, 0.9, 0.9)
    
    return """
      background:rgb({0},{1},{2});
      background-image: -webkit-gradient(linear, left bottom, left top,
        from(rgb({0},{1},{2})),
        to(rgb({3},{4},{5})));
      background-image: -moz-linear-gradient(100% 100% 90deg,
        rgb({0},{1},{2}),
        rgb({3},{4},{5})
      );
      """.format(int(mainbg[0] * 255),
                 int(mainbg[1] * 255),
                 int(mainbg[2] * 255),
                 int(lightbg[0] * 255),
                 int(lightbg[1] * 255),
                 int(lightbg[2] * 255))
dataset/ETHPy150Open natestedman/Observatory/observatory/dashboard/models/Project.py/Project.score_emblem_css/swapped operands of `-`