Dominant Colors for Lazy-Loading Images | manu.ninja
Pinterest, Google Images and lots of image-heavy sites lazy-load their content. They also calculate the dominant color of each image to use as a placeholder. This post presents a few methods to do the same and helps you understand the GIF file format to make the most of data URIs.
https://manu.ninja/dominant-colors-for-lazy-loading-images/