def get_color_for_bar_amount(self, amt): col = RGBColor(color=self.get_managed_color()) col.b = amt return col