In sentence 1b) we are talking about the door, which should be known to the reader too, this door is painted previously in the red colour, but it is not known what is its new colour. This is not the correct interpretation of the sentence. We do not know what colour the door was previously.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.