Red, white, yellow and blue, which are the colours of the flag of Malaysia, are also used in the flag of Malacca to emphasize that Malacca is a member state of Malaysia.
The flag of Malacca incorporates red, white, yellow, and blue, just as the Malaysian flag does, emphasizing that Malacca is part of Malaysia.