So it turns out that taking the code that ChatGPT generated and then feeding it back in as an input is much better than just depending on it to know which code it suggested earlier it should edit. Got color picker to work.