Hello my problem here is probably a really easy fix but I have no idea.

	<link rel="shortcut icon" href="paint-splat.png"> 
	<!--defines the background image for the page--> 
		<title> TraLab | Home</title> 
		<!--Creates the section of the page which can be drawn on with javascript--> 
		<canvas id="myCanvas" width="1000" height="600">If you only see a blue backround please use a broswer that supports HTML5</canvas> 
			//get the element that will be edited with javascript
			var $myArt = document.getElementById("myCanvas");
			//import the two dimensional graphics library and assign it to a variable 
			var $myBook = $myArt.getContext("2d"); 

The problem is when I create the line with lineTo() it is not opaque and if I make the line white it is never the same shade of white as the background. I tried using hexidecimal colors but it still didn't work.