Added custom init for progress bar color. Also added text color based on brightness of background