An example of a faded Path in JavaFx. It has two different canvas the one in the left side is the Fade Transition and other one in the right is also a Fade Transition but with a Stroke Transition.

FadeTransition ft = new FadeTransition(Duration.millis(5000), path);

To change the stroke color of a shape simply use the Stroke Transition.

StrokeTransition sT = new StrokeTransition(Duration.millis(2000), path, Color.LIME, Color.YELLOW);;