copy the line below in a new file and save it as whateveryouwant.svg
it will contains two filters
1) "withslider" filter
select your shapes.
go to Filters/filter editor.
check "withslider".
in the filter designer, you can click one of the last two rows (see image) then you'll get a slider to set the hue or the saturation
it should behave well for primary color (red,green,blue)
if you can't get the exact color you need, you can set it directly in the matrix (see right part of image)
2) "simple" filter
the simple filter contains a matrix like this
0 0 0 0
0 0 0 0 0
0 0 0 0 0
0-0.2125 -0.7154 -0.07 0 1 => with 0,0,0 in the last column we'll get black
this last column should be filled with your rgb values
eg
0 0 0 0
1 0 0 0 0
0 0 0 0 0
0 -0.2125 -0.7154 -0.07 0 1 => full red
0 0 0 0
1 0 0 0 0
1 0 0 0 0
0 -0.2125 -0.7154 -0.07 0 1 => yellow (red+green)
lines to be saved as SVG
============================
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="500" height="500" viewBox="0 0 100 100"
xmlns="http://www.w3.org/2000/svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1">
<defs>
<filter inkscape:label="simple">
<feColorMatrix
values="0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
-0.2125 -0.7154 -0.07 0 1 "
/>
<feComposite
in2="SourceGraphic"
operator="in" />
</filter>
<filter inkscape:label="withslider">
<feColorMatrix
values="0 0 0 0 1
0 0 0 0 0
0 0 0 0 0
-0.2125 -0.7154 -0.07 0 1 "
result="result1" />
<feComposite
in2="SourceGraphic"
operator="in" />
<feColorMatrix
type="hueRotate"
values="0" />
<feColorMatrix
type="saturate"
values="1" />
</filter>
</defs>
</svg>
====================
end of file
http://img23.imageshack.us/img23/5127/coloryq.jpg