I noticed that as you change the theme-color meta tag, Chrome will choose an appropriate secondary color for the url bar and icons (either black or white) that will contrast with the chosen theme color.
Does anyone know how chrome calculates the second color?
I'd like to match the logic for a site header.