CSS Accent Color Generator
Style checkboxes, radio buttons, range sliders, and progress bars with a single CSS property.
Preview live and copy the CSS code.
Live Preview
Checkboxes
Radio Buttons
Range Sliders
Progress Bars
accent-color: #3b82f6;
What is accent-color?
The accent-color CSS property sets the accent color for user-interface controls generated by certain elements. It provides a simple way to style form elements without complex CSS or appearance hacks.
Affected Elements
<input type="checkbox">- The check indicator color<input type="radio">- The selected indicator color<input type="range">- The thumb and filled track color<progress>- The progress indicator color
Browser Support
The accent-color property is supported in all modern browsers:
- Chrome 93+ (August 2021)
- Firefox 92+ (September 2021)
- Safari 15.4+ (March 2022)
- Edge 93+ (August 2021)
Usage Example
/* Apply to all form elements */
:root {
accent-color: #3b82f6;
}
/* Or target specific elements */
input[type="checkbox"],
input[type="radio"],
input[type="range"],
progress {
accent-color: #3b82f6;
}Explore more CSS tools
CSS Grid Generator
Create grid layouts visually
CSS Flexbox Generator
Create flex layouts visually
CSS Gradient Generator
Create custom gradients
CSS Text Gradient
Gradient text effects
CSS Gradients Collection
275+ ready-to-use gradients
CSS Box Shadow Generator
Design multi-layer shadows
CSS Selection Generator
Style text highlight colors
CSS Scrollbar Generator
Style custom scrollbars
CSS Blend Mode Generator
Mix colors with blend modes
CSS Cursor Generator
Preview all cursor styles
CSS Loader Generator
Create loading animations
CSS Button Generator
Design buttons with hover effects
CSS Glow Generator
Create neon glow effects
Fluid Typography
Scale text across screen sizes
