I try to create a SVG containing a an arrow which is supposed to have the color RGBA 00000086
so it is not completely opaque. Unfortunately, it looks like this:
If I set the color (both contour and filling) to RGBA 000000ff
, everything looks fine (black). Of course I can tweak the opacity of the whole object, however this does not seem like a neat solution to me...
Answer
I can think of two ways to do it right in Inkscape - without the need to edit the SVG code directly.
Don't set the alpha channel to transparent in the colour value, set the colour to 000000ff (full opacity black).
86 in hex is equivalent to 134 in decimal.
So, 134/256*100 = 52.3%
Draw a line, set an arrow head in the Markers options.
Set the stroke opacity to 52.3%
- Do Path > Stroke to path, move the arrow head slightly to the right away from the edge of the line, then Unite the arrow head and line to make a filled shape, and fill it with 00000086
No comments:
Post a Comment