You can set the accessibility button and hold the volume buttons to enable Accessibility quickly.
Setting Path:
realme UI 6.0: Settings > Accessibility & convenience > Accessibility > Colour inversion > Shortcut
realme UI 5.0 & 4.0 & 3.0: Settings > System/Additional Settings > Accessibility > Interaction > Switch Access > Shortcut
realme UI R & S & T & Go & U edition: Not supported
realme UI 2.0 & 1.0: Not supported
1. Accessibility button: Tap the accessibility button to turn on this feature.
2. Hold volume buttons: Press and hold both volume keys for 3 seconds to turn on this feature.
Related Articles:
How to use shortcut of Accessibility
How to set accessibility buttons