To view this content, you need to install Java from java.com

Make all lines the same random color.
Made the background color random.
Because I added the function named getRandomColor, I had to wrap the "do once" drawing code in the setup function.

Source code: random_vertical_lines_0003

Built with Processing