LINKDING
Login
Shared bookmarks
Sort by
Added ↑
Added ↓
Title ↑
Title ↓
Apply
Tags
How to have the browser pick a contrasting color in CSS | WebKit
#colour
#contrast
#css
|
Have you ever wished you could write simple CSS to declare a color, and then have the browser figure out whether black or white should be paired with that color?
6 months ago
|
View
Shared by
victor
Previous
1
Next
User
Everyone
victor
Apply
Tags
-css
-contrast
c
olour
How to have the browser pick a contrasting color in CSS | WebKit
https://webkit.org/blog/16929/contrast-color/
Internet Archive
Tags
#colour
#contrast
#css
Date added
May 17, 2025, 12:52 p.m.
Description
Have you ever wished you could write simple CSS to declare a color, and then have the browser figure out whether black or white should be paired with that color?