On this page
accent-color
Prev: `color-scheme` | Up: typography | Next: motion
Rel: typography, Typography & Color Guide
Ref: MDN Web Docs — accent-color
Tags: #public #web #css #properties #typography #tier/standard
Syntax & Overview
accent-color: oklch(58% 0.18 250);
Tints native checkboxes, radio buttons, range sliders, and progress bars.
- Initial:
auto| Inherited: Yes | Animatable: Yes
Notes & Best Practices
- Themes native
<input type="checkbox">,radio,range, and<progress>in one line while preserving native accessibility and keyboard behavior.
Example
:root { accent-color: oklch(58% 0.18 250); }
Linked from
Related notes
- tuts/css/properties/typography/color-scheme Linked here; links to this page; shared tags: #css, #properties, #tier, #typography, #web
- tuts/css/properties/typography Linked here; links to this page; shared tags: #css, #properties, #typography, #web
- tuts/css/properties/typography_and_color Linked here; shared tags: #css, #properties, #typography, #web
- tuts/css/properties/motion Linked here; shared tags: #css, #properties, #web
- tuts/css/properties/typography/color shared tags: #css, #properties, #tier, #typography, #web
- tuts/css/properties/typography/font-family shared tags: #css, #properties, #tier, #typography, #web
- tuts/css/properties/typography/font-size shared tags: #css, #properties, #tier, #typography, #web
- tuts/css/properties/typography/line-height shared tags: #css, #properties, #tier, #typography, #web
- tuts/css/properties/typography/text-wrap shared tags: #css, #properties, #tier, #typography, #web
- tuts/css/properties/box_model/aspect-ratio shared tags: #css, #properties, #tier, #web