# Creating a background gradient from an image

> Episode of [Frontend First](https://podistic.com/podcast/frontend-first.md) · Published December 12, 2024 · Duration 48:39 · Episode 201, season 1

- **Listen on Podistic:** https://podistic.com/episode/creating-a-background-gradient-from-an-image
- **Audio:** https://cdn.simplecast.com/audio/598aebea-91aa-4070-84b0-f8d21a4be43d/episodes/8d0c5f53-4776-46bb-aa47-33885a16875d/audio/695d4b9b-f227-469b-a349-57cb6354a055/default_tc.mp3?aid=rss_feed&feed=sOJAMohP (audio/mpeg)

## About this episode

Ryan talks to Sam about reproducing iOS's new image background treatment for his Open Graph Preview tool, opengraph.ing. They talk about different approaches for generating gradients from images, including finding the vibrant color of an image, luminosity-weighted averages, k-means clustering, and more.
