CSS · Colour and backgrounds

accent-color

Tints native form controls such as checkboxes and progress bars.

Syntax
accent-color: #2f74c0

Example

Try it

More in this group

background-clip background-color background-image background-position background-repeat background-size color currentColor

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course