!!! QUESTION !!!

would i need a method for the input i will use on the page for the user
to interact with?.. ex: I want a user to enter a url for an image, then
click a button to calculate the colors of said image.