Whats that damn HTML Color Code

//Whats that damn HTML Color Code

Whats that damn HTML Color Code

Ever been stuck going through someone else’s styling to find a bunch of offset non-compliant color codes in use, find your self stuck not knowing which which color that is? Well today is just that day for me. Im picking apart a large css file, resampling a lot of the work for a new project. Problem is I didn’t create this CSS and despite it being nicely put together in a style I am not an extreme fan of. There are so many colors in play that figuring out which one is which is often a pain in the arse.\r\n\r\nSo I was about to create myself a little tool of sorts that I could just drop this random letter number combination into and have it make the background of a div become that color, just so I could have a visual reference of what I am working with. But for the hell of it I plugged the hex into googles search and came across a site http://www.colorhexa.com/ that gives me a wealth of information based on a single HEX. Actually I can give it any type of color code CKMY (is that correct?) or a rgb, or a handful of others and it will give me anything from colors similar in the same spectrum to color codes in other formats specific to the (in my case) hex I gave it.\r\n\r\nNow I know what your thinking why don’t I just use a color picker, and find the color on the project I am working on. Well simply put theres a lot of colors going on, and I would have to scan over dozens of elements just to find the match of the one I am looking at, at a code level. But on the note of color pickers. I do use those, a lot trying to build color palettes off of logos a project owner has or whatever the case. If your looking for a color picker and you develop on either Google Chrome, or Firefox then I can suggest one really good color picker (as I have gone through many over the years from external color pickers (which I may post one up that a buddy of mine made years upon years ago before the were trendy, cause that ones still awesome)). Anyway whether your on Chrome or Firefox ColorZilla (http://www.colorzilla.com/) is definitely a prime choice and it seems to have the most features that one could use.
By | 2014-01-05T10:08:30+00:00 August 31st, 2012|Code|3 Comments

About the Author:

Not much to know about me, I'm a 35+ year old coder, geek, gamer..

3 Comments

  1. Makito55Yt75 September 17, 2012 at 6:07 pm

    Very, very nice page! 🙂

  2. vick April 13, 2013 at 3:46 pm

    A color value may either be a hexadecimal number or color names. Color numbers are prefixed by a hash mark. The color names are case-insensitive.\r\n\r\n[HTML Color] — link removed — \r\n\r\n[HTML Color Examples] — link removed — \r\n\r\n[HTML Tutorial with examples] — link removed —

    • chris April 16, 2013 at 2:24 am

      Sorry to remove your links, I deleted them as I didn’t see the relevance per say to this article and saw them as a means of tempting to get link backs for your articles, of which didn’t seem to show much as far as what your point you were trying to make with your comment initially. To elaborate on it though, you are correct you can define a color with a color name from a limited set of colors. Just as you can with hex, and you can also use rbg() as well.nnIn my post I am elaborating on how to find a specific color when you want to use one, or one close to it.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: