Using Colors in JavaScript
<html> <head> <title>JavaScript Unleashed</title> </head> <body> <h2> <script type="text/javascript"> <!-- document.writeln("crimson!".fontcolor("crimson")); // --> </script> </h2> <h4> <script type="text/javascript"> <!-- document.writeln("blue".fontcolor("blue")); document.writeln("<br>" + "#008000".fontcolor("#008000")); // --> </script> </h4></body> </html>