How to assign HTML input forms to p5 variables?

Thanks!!! It worked perfectly, only thing is it outputted a hex value so i had to add ’ quotes to the fill part, but otherwise worked perfectly!