Luckily risers aren't likely to get scratched. Mount and cut them then mask, prime, paint and gloss. Install grips. White risers have you.
edit: you only need to mount first if you're quill, non-open face stem. Because they'd get scratched to **** installing them, obviously. With open-face you can obviously paint then install.