Use this style editor to customize the appearance of the current time witget.
Use the Preview button to see how the clock will look.
Once you are done, use the Copy URL and paste the URL into OBS browser source URL.
If you want to display the background color, you need to remove the Custom CSS in the OBS browser source.