<html>
<head>
<style type="text/css">
body { background-color: black; color: red; }
input { color: inherit; background-color: inherit}
</style>
</head>
<body>
Text
<input type="text" value="text"/>
</body>
</html>