change text color according to background css code example Example: text background color css body { background-color:rgb(130, 50, 29); }