Roof flashings

Is it a requirement to paint roof flashings similar to the roof color AND is it required to pain exposed asphalt sealant around roof jack flashings?
I am I CA. Is there a code or standard?

Building codes, by and large, do not address aesthetics (such as the color of sealant, or painting the flashing a matching color).

The code may specify the areas requiring said flashing, and the proper materials necessary, along with the precise methodology to install all the components.