Lemmy Today
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
koavf@lemmy.mlM to Color@lemmy.ml · 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.cafe
  • hackernews@lemmy.bestiver.se
15
external-link

How to have the browser pick a contrasting color in CSS

webkit.org

koavf@lemmy.mlM to Color@lemmy.ml · 7 days ago
message-square
0
link
fedilink
  • cross-posted to:
  • color@lemmy.cafe
  • 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.ml

color@lemmy.ml

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.ml

Color theory, palettes, fun uses of color, psychology, etc.

Civility is aggressively enforced: do not be rude, troll-y, flame-bait-y, etc. If someone else is, please report, block as necessary, and move on.

Comments that cannot reasonably lead to discussion or which have no analysis (“first!”, “lol”, [string of emojis]) will be deleted. Please do not post them.

Visibility: Public
globe

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

  • 1 user / day
  • 23 users / week
  • 31 users / month
  • 128 users / 6 months
  • 1 local subscriber
  • 120 subscribers
  • 67 Posts
  • 31 Comments
  • Modlog
  • mods:
  • koavf@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org