Can you assign colors for  GenerateRendererTask?

Discussion created by cucinelli on Jul 24, 2013
I would like to use GenerateRendererTask code but I want to be able to assign the colors myself like what is possible in the classbreaksrender:

I want to use the GenerateRendererTask because it figures out the cutpoints of the groups and min and max which classbreaks doesn't do.

I do not want to use:
// colors for the renderer
        app.defaultFrom = dojo.colorFromHex("#998ec3");
        app.defaultTo = dojo.colorFromHex("#f1a340");

Is it possible?

Sorry for such a simple question.
James Cucinelli