Change default color brewer to use default color as first color. Remove ...

...code duplication.