summaryrefslogtreecommitdiffstats
path: root/share/extensions/color_hsl_adjust.inx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/extensions/color_hsl_adjust.inx32
1 files changed, 32 insertions, 0 deletions
diff --git a/share/extensions/color_hsl_adjust.inx b/share/extensions/color_hsl_adjust.inx
new file mode 100644
index 0000000..b7d7dba
--- /dev/null
+++ b/share/extensions/color_hsl_adjust.inx
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>HSL Adjust</name>
+ <id>org.inkscape.color.hsl_adjust</id>
+ <param name="tab" type="notebook">
+ <page name="Options" gui-text="Options">
+ <param name="hue" type="int" appearance="full" min="-360" max="360" indent="0"
+ gui-text="Hue (°)" gui-description="Rotate hue by degrees (wraps around)">0</param>
+ <param name="random_h" type="bool" gui-text="Random hue">false</param>
+ <param name="saturation" type="int" appearance="full" min="-100" max="100" indent="0"
+ gui-text="Saturation (%)" gui-description="add/subtract percentage to/from saturation (min=-100, max=100).">0</param>
+ <param name="random_s" type="bool" gui-text="Random saturation">false</param>
+ <param name="lightness" type="int" appearance="full" min="-100" max="100" indent="0"
+ gui-text="Lightness (%)" gui-description="add/subtract percentage to/from lightness (min=-100, max=100).">0</param>
+ <param name="random_l" type="bool" gui-text="Random lightness">false</param>
+ </page>
+ <page name="Help" gui-text="Help">
+ <label xml:space="preserve">
+Adjusts hue, saturation and lightness in the HSL representation of the selected objects's color.
+ </label>
+ </page>
+ </param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Color"/>
+ </effects-menu>
+ </effect>
+ <script>
+ <command location="inx" interpreter="python">color_hsl_adjust.py</command>
+ </script>
+</inkscape-extension>