<html> <head> <script type="text/javascript"> var djConfig = { baseScriptUri : "js/dojo/" }; </script> <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script> <script> var c1 = dojo.colorFromHex("#00ff00"); alert(c1); </script> </head> <body></body> </html>