It’s actually better to have fairly clean hair when coloring since there will be less buildup to prevent the color from being fully saturated. The cleanliness of your hair does not usually affect color results greatly.