div text color how to get background color of div in javascript