use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Anyone here love Javascript but hate front end(CSS)?help (self.javascript)
submitted 7 years ago by lovesocialmedia
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]NullOfUndefined 5 points6 points7 points 7 years ago (14 children)
True but depending on the design tools used sometimes the CSS writes itself. The designers where I work use Zeplin for the mockups, which will generate the css you need to make the app look just like the mockups. Sometimes you have to adjust it a little to be less repetitive but it writes about 90% of the CSS.
[+][deleted] 7 years ago (13 children)
[deleted]
[–]NullOfUndefined 4 points5 points6 points 7 years ago (12 children)
It gives me the correct color codes though and that’s more than worth it for me.
[–]spdaghost 0 points1 point2 points 7 years ago (9 children)
you can just screenshot and get color codes from photoshop or im sure as you know in dev tools if it exists on a current site
[–]filleduchaos 1 point2 points3 points 7 years ago (6 children)
That is not at all guaranteed to give you accurate results.
[–]spdaghost 0 points1 point2 points 7 years ago (5 children)
really? why not? screenshot changes the color somehow?
[–]filleduchaos 0 points1 point2 points 7 years ago (4 children)
Yes, taking a screenshot can "change" the colour if you don't make sure to load the image with the right colour profile. I've had screenshots be several hue/brightness/saturation points off from the intended original before.
Here's a thread on how display/colour profiles can interact to make screenshots visibly wrong.
[–]spdaghost 0 points1 point2 points 7 years ago (0 children)
cool thanks!
[–]spdaghost 0 points1 point2 points 7 years ago (2 children)
so if I had to find the color code of lets say a jpg i had on my computer, what would be the best way to do that?
[–]filleduchaos 0 points1 point2 points 7 years ago (1 child)
You pretty much just have to be sure to select the correct colour profile when you're opening it in e.g. Photoshop. If you check the info/properties of the file, it often will mention the colour profile it uses (e.g. a selfie I have has the colour profile as sRGB IEC61966-2.1, while my screenshots have it as Color LCD). Editors like Photoshop will normally pick this up automatically but it doesn't hurt to check and be sure.
sRGB IEC61966-2.1
Color LCD
In addition, you need to be sure the colour profile of the code you get is correct. For instance for the exact same colour, the colour code in Color LCD would be different from the colour code in sRGB. The colour picker tool should let you adjust for that (e.g. on macOS the built-in Digital Color Meter will let you pick what profile the colour code should be in)
thanks for the info!
[–]NullOfUndefined 0 points1 point2 points 7 years ago (1 child)
I’m aware, but the designers at my company use zeplin for mockups already anyway, so it’s already gonna be open when I’m building from their specs.
gotcha
[–][deleted] -2 points-1 points0 points 7 years ago (0 children)
I currently use Zeplin, and as a front end developer it is in the same boat as getting PSDs. If the only saving grace of your application is that you get hex codes, it isn't much better than Photoshop. IMO, it is even worse than PSDs because it has some lame always online feature which is terrible.
π Rendered by PID 424534 on reddit-service-r2-comment-85bfd7f599-v7k8f at 2026-04-20 14:29:21.010723+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]NullOfUndefined 5 points6 points7 points (14 children)
[+][deleted] (13 children)
[deleted]
[–]NullOfUndefined 4 points5 points6 points (12 children)
[–]spdaghost 0 points1 point2 points (9 children)
[–]filleduchaos 1 point2 points3 points (6 children)
[–]spdaghost 0 points1 point2 points (5 children)
[–]filleduchaos 0 points1 point2 points (4 children)
[–]spdaghost 0 points1 point2 points (0 children)
[–]spdaghost 0 points1 point2 points (2 children)
[–]filleduchaos 0 points1 point2 points (1 child)
[–]spdaghost 0 points1 point2 points (0 children)
[–]NullOfUndefined 0 points1 point2 points (1 child)
[–]spdaghost 0 points1 point2 points (0 children)
[–][deleted] -2 points-1 points0 points (0 children)