Color-sampling the background

Color changing background algorithm, which calculates the average color of the photo. There’s a PHP version, too.

---

There are 15 other entries posted on this day.