index 118a67d58912f1dbbdf994014992e7e00e09c328..edfd90a76d01eecdba5dd068ded8cdf8eedfcf15 100644 (file)
+#!/usr/bin/env python
import coloreffect
import inkex
def colmod(self,r,g,b):
this_color = '%02x%02x%02x' % (r, g, b)
- fr = self.options.from_color.strip('"').replace('#', '')
- to = self.options.to_color.strip('"').replace('#', '')
+ fr = self.options.from_color.strip('"').replace('#', '').lower()
+ to = self.options.to_color.strip('"').replace('#', '').lower()
#inkex.debug(this_color+"|"+fr+"|"+to)
if this_color == fr: