Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
nycki
nycki
@nycki@bark.lgbt  ·  activity timestamp 2 weeks ago

I'm #colorblind and I use https://xkcd.com/color/rgb/ frequently.

Randall 'xkcd' Monroe did a survey of over 100,000 readers where he showed them random rgb colors and said "what would you call this?" and afterwards he did his best to sort the results into the most popular color names and the colors they refer to.

It's like a box of Crayola for the internet. Finally, my colorblind self can grab a sample of "dark magenta" that doesn't just look like "grape purple" to everyone else.

The data is freely available as a .txt file under CC0, which I've converted into a .css file here: https://git.hatspace.net/nycki/nycki.net/src/branch/main/static/xkcd.css

so now when I want a color on my website I can just write `color: var(--xkcd-off-white)` or so on. it's really convenient :)

#programming #color #css #website

Forgejo: Beyond coding. We Forge.

nycki.net/static/xkcd.css at main

nycki.net
https://xkcd.com/color/rgb/
  • Copy link
  • Flag this post
  • Block
Ken Butler
Ken Butler
@nxskok@cupoftea.social replied  ·  activity timestamp last week

@nycki thank you for linking to the blog post. I remember (correctly, it seems) that this was a rather entertaining read.

  • Copy link
  • Flag this comment
  • Block
𝔇𝔞𝔯k𝔴𝔬𝔩𝔣
𝔇𝔞𝔯k𝔴𝔬𝔩𝔣
@darkwolf@hear-me.social replied  ·  activity timestamp last week

@nycki This is awesome, thank you! I'm #colorblind too

  • Copy link
  • Flag this comment
  • Block
Thomas Svensson 🖖
Thomas Svensson 🖖
@tsvenson@fosstodon.org replied  ·  activity timestamp 2 weeks ago

@nycki

Thank you for the tip. I'm can see colors, but even so am rubbish on creating good ones for my needs. Had a quick scroll and a big nerdy smile happened with my face, realising how useful this list will be for future me 🥰

  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct