Dark mode for webview

I am trying to make a app which will load any website ex. google.com into dark mode when button press,By default web page color is light or white background , i want to add a button on the app when i press the button, it load the web page in night or dark mode. Is it possible? or how to do that. I tried simple night mode extension. which dosen’t work. My phone is samsung note 9 .android version 9/ android pie. Please help…

Hey! I’m facing the same issue, the web page doesn’t load as dark mode when the device theme is, if you managed to find the solution, could you please tell me? Thanks in advance and good luck!