A black-painted wooden door gets incredibly hot if it is in direct sunlight. Wood is a living material and a door that is black becomes so hot that the door leaf can warp and then you can have problems with the opening and closing the door correctly.