Hi SGupte,
You shouldn’t give the custom css in textwidget because it will change all the texwidget which you have use in your site, so if you want to change the color of Top 1 to Top 4 then you can use the following css for it;
#top1, #top2, #top3, #top4 {
color: #000080;
}
Thanks