Working histogram and main colors, also made picture and drawing template