def eval(self, h, s, l): h, s, l = [ v.value for v in (h, s, l) ] s, l = [ v / 100.0 for v in (s, l) ] return HTMLColors.get_color_from_hsl(h, s, l)