Rainbow baby

St
I heard people say a rainbow baby is the baby born after a miscarriage?? Is this true?? And does it matter how long ago a miscarriage was say years?? Just curious!!