Inkscape.org
Beyond the Basics Arrow head color
  1. #1
    PetrKrysl PetrKrysl @PetrKrysl

    I am trying to create an arrow in a different color than black, but the arrow head color is still black. Is it possible to change that?

  2. #2
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Inkscape 1.1 by default applies the stroke colour to arrowheads. Look at the options in [Inkscape Preferences > Behaviour > Markers].

  3. #3
    PetrKrysl PetrKrysl @PetrKrysl

    Sorry, no, it does not work. I am on 1.1, but this is what I get:

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD

    On my machine Inkscape changes the arrowhead colour to match the stroke colour, but not the stroke opacity. (Don't ask me why.) I must use object opacity instead, down at the bottom left off the screen. But your screenshot shows 100% stroke opacity and still the arrowhead is mismatched.  I'm not sure where we diverged.

  5. #5
    PetrKrysl PetrKrysl @PetrKrysl

    It seems it works only with some arrow head types. It doesn't work with the one shown above, but it does work with

    Screenhunter 33
  6. #6
    Tyler Durden Tyler Durden @TylerDurden
    *

    Markers have a number of unresolved issues. Maybe this is closest report: https://gitlab.com/inkscape/inbox/-/issues/3531

    An Inkscape SVG example of the issue in this case may be helpful.

     

  7. #7
    fefe888 fefe888 @fefe888
    🤘

    Hello everybody ! I had the same problem and i find a work-around. Select the stroke and then Path / Stroke to Path after this chenge tha colour fill/stroke as usual. I hope it can help somebody.

  8. #8
    austin_downey austin_downey @austin_downey

    I can confirm this is an issue on Inkscape 1.1. If I import a colored arrow created in an older version of Inkscape it works just fine, but changing the colors of arrowheads is only allowed for some types. In older versions of Inkscape, I could adjust the till to get arrowheads to change colors, but not in Inkscape 1.1.

    This screenshot is taken on a Windows machine. 

     

     

    Arrow Head
  9. #9
    Tyler Durden Tyler Durden @TylerDurden

    Maybe related to this: https://gitlab.com/inkscape/inbox/-/issues/5664

  10. #10
    Gametry Gametry @Gametry

    I had the same issue in Inkscape 1.2. The arrow heads would show black no matter what I would do.

    Until I tried: Select the object -> Menu Extensions -> Modify Path -> Color Markers -> Custom -> Fill

    I have not used any color for Stroke.

     

  11. #11
    Servinjesus1 Servinjesus1 @Servinjesus1

    Can confirm this is still an issue in 1.2.2. Additionally, certain markers don't seem to inherit alpha from the path.

    Specifically, I'm working with a vertical bar marker (pic 1), which looks like it's individual rectangles when editing on canvas. Color Markers almost works, but the alpha it inherits is wrong (pic 2)

     

    (21 47) 000593 Clipboard
    (21 44) 000591  Laser Fit Inset`Mathematica.Svg   Inkscape
  12. #12
    gcorsini gcorsini @gcorsini

    Hello,

    I had the same problem on Inkscape 1.3 (1:1.3+202307231459+0e150ed6c4).

    Typically, I had none, since selecting the stroke color automatically updated the line and the head.

    Anyway, I solved it by:
    * select the object
    * Extensions -> Styles -> Color Markers -> Custom -> Stroke
    * Select the color you like
    * Tick the boxes `Modify in place` and `Live preview`

    I hope this could help :)

  13. #13
    Jackozee Jackozee @Jackozee

    fefe888 Thank youuuuu!!! I was getting this problem when I exported to pdf. After using "stroke to path" the problem was solved.