It wouldn't be a problem to use electrical tape. You can get it in many different colors. It's possible that masking/painter's tape could ignite or serve as a fuel source, as it's not got the same rated performance in overheating/fire conditions.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.