Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Android Chrome forced dark mode inverting logos: how to fix it

PRF-202Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Chrome on Android has an option called Auto Dark Mode for Web Contents (chrome://flags, and a setting for users who turn on dark theme). When it is on, Chrome rewrites the colours of pages that are light only. It darkens white backgrounds and lightens dark text. It also tries to decide which images to change.

Why it costs you leads or sales

Visitors judge trust in seconds. A missing or garish logo, a bright box on a dark page or a payment badge that cannot be read makes a site look unfinished or unsafe. The impact is usually small and limited to people on Android with dark theme, which is why this is rated low. But it sits on pages like checkout and lead forms, where trust matters most.

How forced dark mode can hurt a visit
  1. Visitor on AndroidDark theme is on in Chrome
  2. Chrome auto darkens pagePage does not declare colour scheme
  3. Logo inverted or invisibleTransparent or dark logo clashes
  4. Trust dropsSite looks broken or unsafe
  5. Form or checkoutSome visitors leave

The page loads fine, but the trust signals are damaged before the visitor reaches the form.

How to check if your site has it

Test forced dark mode
  1. Turn on dark theme on an Android phone

    In Android settings, enable Dark theme. In Chrome, open Settings > Theme and choose Dark.

  2. Enable the Chrome flag if needed

    Open chrome://flags, search for Auto Dark Mode for Web Contents and set it to Enabled. Relaunch Chrome. Availability of the flag varies by Chrome version.

  3. Open your key pages

    Check the home page, landing pages, the lead form and checkout. Look at the logo, payment badges, icons, banners and any images with text.

  4. Compare with light mode

    Note anything that is missing, tinted, boxed or unreadable.

  5. Try desktop Chrome too

    In DevTools open the Rendering panel and set Emulate CSS media feature prefers-color-scheme. For forced darkening, the same chrome://flags setting exists on desktop under Auto Dark Mode for Web Contents.

How to fix it

You have two honest options. Either tell the browser your page is light only, so it leaves it alone, or build a real dark style and test it. The first is fast. The second is better if many of your visitors use dark theme.

Option 1: declare a light-only pagehtml
<meta name="color-scheme" content="only light">
<style>
  :root { color-scheme: only light; }
</style>
Option 2: support dark mode and swap the logocss
/* Declare support so Chrome does not guess */
:root { color-scheme: light dark; }

.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}
Where to add it
  1. Add the meta tag

    Use a child theme's header.php or a code snippet plugin to output the color-scheme meta tag in the head. Some themes also have a built-in dark mode toggle, so check theme settings first.

  2. Fix the logo

    In Appearance > Customize > Site Identity, upload a logo with a solid background or a version that works on both light and dark.

Make logos and images dark-safe
  1. Avoid logos that depend on transparency

    Export the logo with a solid background, or add a light rounded badge behind it, so it reads on any page colour.

  2. Provide a dark variant

    Use a picture element or the CSS swap above so dark theme gets a light logo.

  3. Check text inside images

    Banners with baked-in text can lose contrast. Put important text in HTML instead.

Logo swap with picturehtml
<picture>
  <source srcset="/logo-light-on-dark.svg" media="(prefers-color-scheme: dark)">
  <img src="/logo.svg" alt="Your brand name" width="160" height="40">
</picture>
Logo in forced dark mode

Before

  • No colour scheme declared
  • Transparent dark logo disappears on dark background
  • White badges show as bright boxes

After

  • color-scheme declared
  • Logo has a dark-theme variant or solid background
  • Page looks the same intended design

How to confirm it's fixed

Confirmation checks
  • Reload key pages on an Android phone with dark theme on
  • Logo is visible and clean in both light and dark theme
  • Payment badges and trust icons are readable
  • Forms, buttons and error messages keep enough contrast
  • Check the flag-enabled state and the flag-off state
  • Test the checkout and thank-you page, not just the home page

How to prevent it happening again

Habits that keep it fixed
  • Keep the color-scheme meta tag in the shared template
  • Export new logos and badges with a dark-safe version
  • Add a dark-theme phone check to your release checklist
  • Test new landing pages and funnel templates before launch
  • Re-test after theme, builder or plugin updates

How FunnelGuard handles this

FunnelGuard does not check this yet. Spotting an inverted logo means judging how an image looks, and that is not part of the current checks. It is a possible future check.

What FunnelGuard does cover nearby: a robot visitor runs your real journeys (lead forms, checkouts, booking and chat buttons) on a schedule, checks each step and the tracking hits, and sends one alert with a screenshot if a step fails. That will tell you if a journey breaks, but not if a logo looks wrong in dark theme.

Questions people ask

Why does my logo look wrong in dark mode on Android?

Chrome on Android can apply Auto Dark Mode to pages that do not declare dark support. It changes page colours and can invert or tint images. Transparent or dark logos are most likely to disappear or show odd boxes.

How do I stop Chrome forcing dark mode on my website?

Add <meta name="color-scheme" content="only light"> in the head and :root { color-scheme: only light; } in your CSS. This tells Chrome your page is light only, so it should not darken it. Test on a phone afterwards.

Does the color-scheme meta tag fix inverted images?

It stops Chrome applying automatic darkening to a page that is declared light only. If you instead declare light dark, you are responsible for dark styling and logo variants. Either way, test the logo on a real device.

How do I test forced dark mode in Chrome?

On Android, turn on Dark theme in Chrome settings, or enable Auto Dark Mode for Web Contents at chrome://flags. On desktop, use the same flag or DevTools Rendering to emulate prefers-color-scheme. Flag names can change between Chrome versions.

How do I make a transparent PNG logo work in dark mode?

Give it a solid or light badge background, or supply a second light version and swap it with picture and prefers-color-scheme: dark. An SVG with colours that work on both backgrounds is another option.

Is forced dark mode the same as prefers-color-scheme dark?

No. prefers-color-scheme is a media query your own CSS uses to apply dark styles. Forced dark mode is the browser rewriting colours on a page that did not provide dark styles.

Does FunnelGuard detect logos inverted by dark mode?

No. FunnelGuard does not check this yet, and it is only a possible future check. It does run your real journeys and check tracking and lead delivery, so you still need a manual dark-theme test on a phone.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.