Black curtains that are designed to stop light will stop sunlight from heating objects in the room. However, many black curtains have a lighter lining on the back, meaning heat will still get into the room. Not all black-colored curtains are 'blackout' curtains, so if this is something you're looking for, it's good to check the description to make sure.