Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fireflies_
8 months ago
|
parent
|
context
|
favorite
| on:
How to have the browser pick a contrasting color i...
This is "relative color" syntax, it works with a range of color spaces/color functions. The key is the "from" at the front. Here's the MDN documentation:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_colors/...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: