If this the only button with the given style on your page, then the below code will work for you.
<html>
<head>
<style>
.btn{color:red; background-color:blue;}
</style>
</head>
<body>
<input type='button' value='Click' class='btn' />
</body>
</html>
Thanks,