I made a PDF Version of my Color Pages

I played a little bit with mPDF and now all the color pages on my website offer amazing looking PDFs to download.

Next to the social share buttons for Facebook and Twitter you can find the new PDF export.

Most of the time I spend working around CSS limitations of mPDF like that they do not support pseudo elements.

The rest is pretty easy, just create a new mPDF instance, add a page, write the HTML and print the result.

Some Screenshots

Sample Links

https://convertingcolors.com/hex-color-ED2B55.pdf
https://convertingcolors.com/rgb-color-214_194_115.pdf

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store