This code will be super useful for people managing images or photography website. With it, you can analyze any image and get its dominant color (R, G, or B).