Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
101–110 of 167 posts
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#102Earlier quoted context omitted.
"White space" is two words, not one.
In computing it is widely used as a single word "whitespace." For example: - The XML W3C Rec: https://www.w3.org/TR/xml/ - The HTTP 1.0 RFC: https://tools.ietf.org/html/rfc1945 However, there are exception. The Unicode character database has a property called "White_Space" which implies it is two words: http://www.unicode.org/reports/tr44/#White_Space
Except that `_` is a "word" character by default.
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#103Earlier quoted context omitted.
Very cool. Please add permalinks/history state, so we can share specific hue or colors. Thanks!
Looks like it's on Github, you could submit a pull request to add those things :)
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#104Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#105Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#106The idea was to create a tool to sort the named CSS colors in a way that it shows related colors together. So, next time I can't decide between a few CSS colors, I can just check them here side by side. I've created this tool last summer, but I hadn't shared it here back then. It's a PWA that I made with pure JS.
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#107The idea was to create a tool to sort the named CSS colors in a way that it shows related colors together. So, next time I can't decide between a few CSS colors, I can just check them here side by side. I've created this tool last summer, but I hadn't shared it here back then. It's a PWA that I made with pure JS.
Awesome! Could you possibly implement a double-click to clipboard copy option?
Edit: here you go https://pastebin.com/5Kypr4kh
Edit 2: I would, but I'm at work so personal GH is a no-go atm. I'll cycle back here EOD & make the PR if OP agrees w/ proposal
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#108This is definitely a cool way of exploring CSS colors. But, serious question: does anyone actually use CSS colors except for a handful of the basics ("red", "blue") for prototyping/debugging? I mean, the idea of typing "background-color: lightsalmon;" just feels so bizarre to me. Whenever I've needed to come up with colors from scratch, I'll just start with an intuitive best guess -- e.g. "hsl(30, 80%, 50%)" -- and t…
When I started web dev in the early 2000s, I remember it being recommended to use the named colors because of them being more consistent accross different monitors. Not sure if this was true at all and/or only for the original 16 basic colors. Nonetheless, I kept using them for a while, because I think it makes the css easier to read, when having names (even suboptimal ones) over hex codes. But with the introduction…
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#109This is definitely a cool way of exploring CSS colors. But, serious question: does anyone actually use CSS colors except for a handful of the basics ("red", "blue") for prototyping/debugging? I mean, the idea of typing "background-color: lightsalmon;" just feels so bizarre to me. Whenever I've needed to come up with colors from scratch, I'll just start with an intuitive best guess -- e.g. "hsl(30, 80%, 50%)" -- and t…
the best example i can think of is this fire demo on codepen, which i bookmarked because i really liked the color names: https://codepen.io/jscottsmith/pen/dwZjWK
Re: Show HN: Sorted CSS Colors – Sort the named CSS colors in a nice way
#110Usefull, though. Thank you for posting this.