[LibGDX]Render an electric beam?

I want to create an method that renders electricity.

public void renderTeslaBeam(Point startPos, Point endPos, Color boltColor, float boltThinkness)
{
      .....
}

I want the beam to look something like this:

You can probably go off this: http://www.java-gaming.org/topics/slick2d-javara-commandconquer-red-alert-with-taste-of-java/33355/msg/318764/view.html#msg318764

Yeah look at this; Exactly what you want

Alright, I used this:
http://www.java-gaming.org/?action=pastebin&id=1025

And I got it to work. Its draws a jagged line between the two given points.

The problem is, it doesnt look good ingame. It looks so dull, color wise.

The image used is 7x7 white image. If I forexample use a black image, the beam is not visible. If its yellow, the beam appear green or something else ingame.
Totally weird.