Get the most dominant color!
Pyth, 18 bytes

FGITW.

?tJeM.MhZrS'Q8\=hJ


This is how it would theoretically work offline.

This is a proof that it works.

The two links differ by whether there is a "read file command" ' (single-quote).