It's the positive crankcase ventilation valve and yes just be careful. Paint with a colour you like, personal preference would be something quiet like black..
Just make sure you have got the grommet which goes around the bottom of the PCV valve. When I replaced mine the grommet had turned into hard plastic and it shattered. Also make sure you have a good pair of tweezers LOL!!!!