Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:8Length:58 minutes
Gal 3
  • Overview
  • Transcript

2.4 Dominant Color and Color Palette

We’re going to use the “Color Thief” library to retrieve the dominant color, as well as the overall color palette, from our gallery image.

In order to do this we’ll be working in the scripts.js file we created earlier. Let’s begin by creating a function called processImages().

Related Links:

Continue watching with Elements