Vertex paint not working after sculpting with dyntopo on
Blender is a complex application. I don't know exactly what I did, but at the point when I wrote my question, for some reason I had changed the Draw mode to Add instead of Mix. Once I put it back to Mix, it worked as expected and I was able to keep working in this project.