A local tradition attributes the quarter’s vivid facades to an old Portuguese-era practice of repainting houses regularly.