Contact Us | +1 888 239-0733 (Toll free US/CA) Mon-Fri: 7:30am to 4:30pm (PST)
The CSS 'accent-color' property allows you to customize the color of certain user interface elements, like checkboxes, radio buttons, range sliders, and progress bars, in a webpage. It's a way to ensure these elements match the overall design of your site without having to create custom controls.
See the Pen CSS accent-color Property by Webzstore (@webzstore) on CodePen.
Using 'accent-color' is a straightforward way to customize the look and feel of form elements and other UI components in a way that's consistent with your site's design.
![]() | ![]() | ![]() | ![]() | ![]() |
92.0 | 15.4 | 93.0 | 93.0 | 73.0 |
accent-color: auto|color|initial|inherit;
Use 'accent-color' to align the color of form controls and other UI elements with your website's theme. For example, suppose your site has a primary color scheme of blue. In that case, you can use accent-color to make checkboxes and radio buttons blue instead of their default browser styling.
"*" indicates required fields