<html> <head> <style> .important { color: darkred; font-size: 10em; } </style> </head> <body> <div>black</div> <div>black (should not have color parameter in PDF source)</div> <div style='color: red; font-size: 30px'>hello</div> <div style='color: rgb(0, 255, 0); font-size: 30px'>hello</div> <div style='color: #0000FF; font-size: 30px'>hello</div> <div class='important'>hello</div> <div>black</div> <div>black (should not have color parameter in PDF source)</div> </body> </html>