Replace specific indexes in a list with a corresponding list of value

I’m basically trying to do this: Replacing multiple elements in a list at once , but be able to make the points different colors based on what I input. Line 8 in here is pretty close to what I have Replace items in list. | Desmos .