add # to color if not provided, throw TypeError if no proper param passed