summaryrefslogtreecommitdiffstats
path: root/share/extensions/color_morehue.py
blob: c421d35cac6caf6e961894f885db87a665941794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
"""Add more hue"""

import inkex


class MoreHue(inkex.ColorExtension):
    """Add hue to any selected object"""

    def modify_color(self, name, color):
        color.hue += int(0.05 * 255.0)
        return color


if __name__ == "__main__":
    MoreHue().run()