accent-color
The accent-color property sets the accent color for form controls and other interactive elements.
Formal Syntax
auto | <color>
JavaScript Access
// Access via element.style
element.style.accentColor = 'auto';
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| accent-color | 93 | 92 | 15.4 | 93 |
| auto | 93 | 92 | 15.4 | 93 |
Related Properties
- appearance
- caret-color
- cursor
- field-sizing
- pointer-events
- scrollbar-color
- scrollbar-gutter
- scrollbar-width
- touch-action
- user-select
- caret-animation ๐งช
- caret-shape ๐งช
- interactivity ๐งช
- interest-delay ๐งช
- interest-delay-end ๐งช
- interest-delay-start ๐งช
- box-snap ๐ง
- caret ๐ง
- event-trigger ๐ง
- event-trigger-name ๐ง
- event-trigger-source ๐ง
- input-security ๐ง
- line-snap ๐ง
- nav-down ๐ง
- nav-left ๐ง
- nav-right ๐ง
- nav-up ๐ง
- pointer-timeline ๐ง
- pointer-timeline-axis ๐ง
- pointer-timeline-name ๐ง
- slider-orientation ๐ง
- spatial-navigation-action ๐ง
- spatial-navigation-contain ๐ง
- spatial-navigation-function ๐ง