HN feature request: three character hex code support for topcolor. Bonus points: named color support for valid CSS colors, such as dodgerblue.
It's supported and it appears in your HN profile once you have a certain karma. The field is called "topcolor".
#c0ffee is the color
91–100 of 127 posts
Re: #c0ffee is the color
#92Earlier quoted context omitted.
> I think is important but it seems most front end developers would prefer not to know. This is my experience. There are two types of people in this industry, people who want to make money quick and those who are technologists.
I disagree. Not wanting to learn hex does not make you less of a techie. One can only focus on so much, and tech is huge.
I mean, it's not _mandatory_ but it's something you'll run into eventually (though since I do quite low level systems programming, I expect that I see hex a lot more often than web developers -- though CSS colours are also in hex).
Re: #c0ffee is the color
#93Re: #c0ffee is the color
#94Nice. One oddity: for some reason, the site's CSS makes text selection highlights invisible. If you select text, the selection looks identical to unselected text, though copy/paste still works. Also, the color boxes appear to be editable text areas: if you click on one, you can backspace or Ctrl-U and the text of the color vanishes, until you hover/unhover it again and the text gets reset (because of the 1337/LEET tr…
Re: #c0ffee is the color
#95Re: #c0ffee is the color
#96Earlier quoted context omitted.
I disagree. Not wanting to learn hex does not make you less of a techie. One can only focus on so much, and tech is huge.
In Australia you learn about base-N numbers in primary school, I don't understand why you see that as a huge undertaking. Ultimately if you ever have to check the mode of a file on *nix, or interact with bitmasks in any way, you're going to run into numbers in different bases. Not to mention memory addresses when debugging. I mean, it's not _mandatory_ but it's something you'll run into eventually (though since I do…
Re: #c0ffee is the color
#97Earlier quoted context omitted.
In Australia you learn about base-N numbers in primary school, I don't understand why you see that as a huge undertaking. Ultimately if you ever have to check the mode of a file on *nix, or interact with bitmasks in any way, you're going to run into numbers in different bases. Not to mention memory addresses when debugging. I mean, it's not _mandatory_ but it's something you'll run into eventually (though since I do…
File modes are typically written in octal, not hex.
Re: #c0ffee is the color
#98Earlier quoted context omitted.
I also plan to use 54FE57 somewhere. Have to do that. Though with the numbers in the beginning it's not as readable as e.g. BADA55.
It's a little more readable if you change the 4 to an A, which doesn't significantly change the color: #5AFE57.
Still the 57 does not really directly translate to ST in my head at least.
Re: #c0ffee is the color
#99I'm surprised no one yet has mentionned the famous stack overflow question: https://stackoverflow.com/questions/8318911/why-does-html-th... . TLDR; For legacy reasons, some words produce valid colors even if they don't respect the standard color formats. For example, "chucknorris" produces red.
Someone should make a list of all words and common phrases that result in a color different from #000000 and then go through them all and pick out the interesting ones. By the way I didn't see any mention of max length. Is there a limitiation to the length of the color string? Bonus question: What color would the complete works of Shakespeare be? Take all of his scene play manuscripts found on Project Gutenberg but e…
Re: #c0ffee is the color
#100Earlier quoted context omitted.
These CSS colors consist of 3 bytes in hex, the first gives the red value, second green and the last is blue. So: #FF0000 = 0xFF, 0x00, 0x00, which is pure red #0000FF = 0x00, 0x00, 0xFF, which is pure blue #FF00FF = 0xFF, 0x00, 0xFF, which is red and blue mixed, so it's purple (violet) #FFFFFF = 0xFF, 0xFF, 0xFF, all colors combined is white etc #C0FFEE = 0xC0, 0xFF, 0xEE, so by 'parsing' it in your head yo can see…
Yes but you grew up typing hex codes into a home computer connected to a tape drive. You know what 8192 looks like in binary but everything beyond 65535 you struggle with because you didn't have the registers for that on your 6502A. It probably irritates you to see images scaled to 1000 pixels rather than 1024. What about that jpeg cell that is not 8 pixels square? Think of the computational overhead and the need to…
It's like when people complain that they failed to install desktop Linux in the last couple of years - sure in the 90s that was a very valid complaint, and early last decade it was tricksy too. But now? It says more about them.