Lemmy Today
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.worldM to Color@lemmy.cafeEnglish · 7 days ago

How to have the browser pick a contrasting color in CSS

webkit.org

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • color@lemmy.ml
  • hackernews@lemmy.bestiver.se
5
external-link

How to have the browser pick a contrasting color in CSS

webkit.org

cm0002@lemmy.worldM to Color@lemmy.cafeEnglish · 7 days ago
message-square
0
link
fedilink
  • cross-posted to:
  • color@lemmy.ml
  • hackernews@lemmy.bestiver.se
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?
alert-triangle
You must log in or register to comment.

Color@lemmy.cafe

color@lemmy.cafe

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !color@lemmy.cafe

For all things Color; Theory, palettes, fun uses, psychology, etc.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 16 users / week
  • 33 users / month
  • 33 users / 6 months
  • 1 local subscriber
  • 60 subscribers
  • 20 Posts
  • 1 Comment
  • Modlog
  • mods:
  • cm0002@lemmy.cafe
  • cm0002@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org