Hmm.. that is correct, you code works even from my local when it is saved as pdf through the editor.
Try do this: <div style="background-color: #575757;">test</div>
It works in the online version, from you link,
but when it runs from local it gives a damage pdf document, that can not be opened.