Bug 848474 covers making background tabs' background colors match the window frame.
This bug covers making the new tab button icon, and (when the above bug is fixed) background tab dividers and text, readable over that color.
To do this we should hoist the behavior from Windows10CaptionButton::GetBaseColor()/OnPaintBackground():
* Start with the frame color
* If applicable, blend COLOR_BUTTON_BACKGROUND atop it (with some fiddly alpha logic)
* Use the result, blended 100% toward the opposite luma, as the base color for all these items
* Then either set alpha, blend toward the frame color, or blend back toward the (new) opposite luma, to generate the paint colors for the specific items here (since tab titles and dividers, for example, are supposed to be different shades)
Comment 1 by pkasting@chromium.org
, May 31 2018