v149 · CSS · PWA
System Accent Color Scoped to Web Apps
Chrome 149 scopes the AccentColor CSS system color to installed web apps. When a PWA runs in standalone mode, form controls themed with accent-color: AccentColor pick up the app's theme_color from the manifest — not the OS accent color.
concepts
-
Accent Form Showcase
Live controls — checkboxes, radio buttons, range sliders, progress bars — displayed with
accent-color: AccentColor,accent-color: auto, and a hardcoded colour. Toggle between modes to see how each strategy responds to theme changes. -
PWA Theme Match
Adjust a simulated PWA
theme_colorwith a colour picker and watch how form controls inside the app would look if they usedAccentColor. Illustrates why scoping matters for brand consistency. -
Theme Color Picker
Choose from colour swatches or a custom picker; see how form controls (checkbox, radio, range, progress) look with
accent-color: AccentColor,auto, or a hardcoded hex. Toggle strategies to understand when each is appropriate. -
Manifest Accent Simulator
Pick a
theme_colorfrom swatches or a custom colour picker and watch a simulated PWA window update — titlebar, checkboxes, radios, sliders, and progress bars all respond instantly. Switch betweenAccentColor,auto, and hardcoded strategies to compare them side by side. The live manifest JSON updates with each selection. -
Fallback Chain
Traces the full
AccentColorresolution chain across three contexts — PWA standalone (Chrome 149+), browser tab, and Chrome < 149. Simulate each context, set the OS accent andtheme_colorindependently, and see exactly which color eachaccent-colorstrategy resolves to in every scenario. -
OS Accent Integration
Set an OS accent color and a PWA
theme_colorindependently and watch how Chrome 149 resolvesAccentColorin each context. The page reads the realAccentColorsystem color from the browser and places it alongside the simulated PWA standalone context. Switch betweenAccentColor,auto, and hardcoded strategies to see the three-row resolution table update live.
why it shipped
CSS system colors like AccentColor are defined by the browser to reflect user preferences — on macOS, it is the Highlight Color; on Windows, it is the accent from Personalisation settings. Before Chrome 149, installed PWAs shared the same AccentColor as the rest of the browser, so a check box in a banking app might turn the user's bright-green OS accent colour. Chrome 149 narrows the scope: when a web app is installed and running standalone, AccentColor derives from the app's declared theme_color in its manifest. Developers can now use accent-color: AccentColor or just rely on accent-color: auto to get consistent, brand-matched form controls without hard-coding any hex values.