I was playing around with a new project recently and wanted to figure out the complementary color of a given color. All you need for this are the RGB values of the color for which you want to find the complement.
There are lots of ways of specifying a color on the Open Web:
- rgb(255,0,0)
- rgb(100%,0,0)
- #FF0000
- #F00
- "red"
And it's not just the 17 CSS color names, there are 147 cool-sounding extended color names like papayawhip. So given that a user can input a color in all sorts of ways, what's the right way to do this? Read the rest of this entry ...