Take a look at this (awesome) tutorial:
Also, the Javascript SDK might be interesting: https://docs.particle.io/reference/javascript/#callfunction
I personally wouldn't use forms. You can use sliders to change the values after a set amount of ms of no change (to prevent spamming, debounce) There are also some neat javascript libraries for color pickers. Fun when you have RGB LEDs