dojo.js"></script>
<script language="JavaScript" type="text/javascript">
dojo.require("dojo.graphics.color");
dojo.require("dojo.graphics.color.hsv");
dojo.require("dojo.graphics.color.hsl");

dojo.addOnLoad(function(){
	var c = dojo.graphics.color;
	var hex = ["#003399", "#039", "003399", "039"];
	for(var i = 0; i < hex.length; i++) {
		var rgb = c.hex2rgb(hex[i]);
		dojo.debug(hex[i], "-> hex2rgb ->", rgb, "-> rgb2hex ->", c.rgb2hex(rgb));
		dojo.debug("extractRGB(" + hex[i] + ")", c.extractRGB(hex[i]));
