A few months ago I released a module that provides an out-of-the-box solution for lazy loading of images in drupal 8.
This lightweight module will automatically provide lazyloading of images on your website in a pinterest-style color scheme. It fetches the main color of your image and serves it until your image is loaded.
In this video, I give a small demo: