How to make the background color of the text depending on the photo?

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!