39135a3e07243519dbe40a68e86a7ef524eb3f1bmfloryan<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
4a5d79f3070261cec3b984144443f003f3f7b2efJazzyNico <_name msgctxt="Custom color extension">Custom</_name>
91cdc6c06e37ed5336e3e5f81dc8a6f39c07b500pjrm <dependency type="executable" location="extensions">coloreffect.py</dependency>
91cdc6c06e37ed5336e3e5f81dc8a6f39c07b500pjrm <dependency type="executable" location="extensions">color_custom.py</dependency>
91cdc6c06e37ed5336e3e5f81dc8a6f39c07b500pjrm <dependency type="executable" location="extensions">simplestyle.py</dependency>
f3af6a560522a748493cf1599895bd3523ff7376Alvin Penner <param name="r" type="string" _gui-text="Red Function:">r</param>
f3af6a560522a748493cf1599895bd3523ff7376Alvin Penner <param name="g" type="string" _gui-text="Green Function:">g</param>
f3af6a560522a748493cf1599895bd3523ff7376Alvin Penner <param name="b" type="string" _gui-text="Blue Function:">b</param>
ab2bfc43325999155ccf0497fcd0b8cf95a26306Kris <param name="scale" type="optiongroup" _gui-text="Input (r,g,b) Color Range:">
f3af6a560522a748493cf1599895bd3523ff7376Alvin Penner <_param name="instructions" type="description" xml:space="preserve">Allows you to evaluate different functions for each channel.
8ee3cffe0979389ae4a2a85c491d25381719ee9eJazzyNicor, g and b are the normalized values of the red, green and blue channels. The resulting RGB values are automatically clamped.
8ee3cffe0979389ae4a2a85c491d25381719ee9eJazzyNicoExample (half the red, swap green and blue):
8ee3cffe0979389ae4a2a85c491d25381719ee9eJazzyNico Red Function: r*0.5
8ee3cffe0979389ae4a2a85c491d25381719ee9eJazzyNico Green Function: b
8ee3cffe0979389ae4a2a85c491d25381719ee9eJazzyNico Blue Function: g</_param>
91cdc6c06e37ed5336e3e5f81dc8a6f39c07b500pjrm <command reldir="extensions" interpreter="python">color_custom.py</command>