set_color_scheme
Override the browser's color scheme to emulate light, dark, system, or no-preference modes for accurate color inspection and screenshots.
Instructions
Set the browser color scheme that controls CSS prefers-color-scheme. Defaults to system appearance. Use before inspecting colors or taking screenshots. Options: system (clear override to follow OS/browser setting), dark, light, no-preference (simulate agents with no declared preference). Returns confirmation of the active scheme.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Color scheme to emulate: 'system', 'dark', 'light', or 'no-preference'. Example: { scheme: 'dark' } |