){
// summary:// Blend colors end and start with weight from 0 to 1, 0.5 being a 50/50 blend,// can reuse a previously allocated dojo.Color object for the resultvar t = obj || new d.Color();
d.forEach(["r", "g", "b", "a"], function(x){
t[x] = start[x] + (end[x] - start[x]) * weight;
if(x != "a"){ t[x] = Math.round(t[x]); }
});
return t.sanitize(); // dojo.Color
};