// Test
// Analysis
document.writeln("document.bgColor: " + document.bgColor + "<br>");
document.writeln("Hex red value: " + red + "<br>");
document.writeln("Hex green value: " + green + "<br>");
document.writeln("Hex blue value: " + blue);
This section of code tests the previous section to verify that it works correctly. It is important to
convey enough visual information to know what your program is displaying, which is why the original
bgColor is displayed as well. We can then double check the values of the red, green and blue variables
against the original colour. Without all of the additional information, it would be hard to detect if we
had inadvertantly assigned red to green, and vice versa.