Well hello there! Whatever I did yesterday seemed to substantially increase my productivity (for once). I got distracted a few times, and spent a bit too much time on some tasks, but overall, I approve. š Letās try to do that again today.
I need a new website, mostly because I never really made anything that special. And during the process of picking out a color palette, I realized that color are complicated. Horribly, horribly complicated.
In web development, colors are usually specified in the RGB color model using a 3-byte hexadecimal number. Each byte, represented by two hex digits, indicates the amount of red, green, or blue light in a given color, ranging from 00
(0, or none of that color) to FF
(255, the maximum amount of that color).1
Here are some example colors:
This is where things get fun. If youāre directly on my website (juliencherry.net), you might notice how much brighter effectively pure green appears compared to its red and blue counterparts2. This is kind of annoying because I want colors of the same brightness to actually look like they have the same brightness. These colors should have the same brightness3 because they have the same amount of light, just in different colors. But they donāt!
Human eyes are more sensitive to certain wavelengths, and I think this is why this difference in brightness occurs. The cone cells in the human eye allow for color vision, and the three different kind of cones are sensitive different wavelengths.
I suppose then that it would be impossible for a human with normal vision to see other colors, like red and blue, as bright as they might see green, which might have interesting design implications. However, in the case of my website, I just wanted colors that had the same visual brightness5. Using RGB seems to make that more difficult, but thereās a few other color models6 that may do the trick. First I looked at LMS, then XYZ, but L*a*b* looks the most promising so farā¦weāll see.
Along the way I also found these fun things called impossible colors, some of which you can actually see! These chimerical colors can only be seen under certain conditions, and Iām in the process of deriving a website from the diagram in the link at juliencherry.net/projects/chimerical-colors. Go try it out!
Well, this concludes this long blog post. Brief disclaimer: I like writing these exploratory posts (i.e.Ā this one [the one you are reading] and this one), because I learn more about whatever the topic happens to be about. But it also means I also take in a lot of information from elsewhere, which generally means Iām haphazardly clobbering together bits of Wikipedia. Be wise and wary, and donāt believe everything you read on the internet, kiddos. Be open-minded but skeptical.
See ya around,
Julien