.text{
    color: red;
}

body p {
    color: blue;
}

p.text{
    color: green;
}

body .text{
    color: orange;
}