respect user specified color when stacked=True

Added functionality that respects user's color specification when the specified color option is valid (number of colors is equal to number of stacks) rather than just use color from set2.