Live data from Hacker News

Gradify turns the most prominent colors in an image into a CSS gradient

gradifycss.com

11–20 of 37 posts

Re: Gradify turns the most prominent colors in an image into a CSS gradient

#12
Do you have permissions to use those images?

https://m.flickr.com/#/photos/lightofthewild/5611692322/

The left margin is broken on Chrome on iOS. http://m.imgur.com/94fzJrc

The scrolling behaviour make the page impossible to use. The scrolling, and I say this as politely as I can, is fucking horrible and makes me want to smash my phone to little pieces.

Sorry for the negative tone. The actual thing looks cool. It'd be nice to see these gradients being used more often.

Re: Gradify turns the most prominent colors in an image into a CSS gradient

#14
post #12

Do you have permissions to use those images? https://m.flickr.com/#/photos/lightofthewild/5611692322/ The left margin is broken on Chrome on iOS. http://m.imgur.com/94fzJrc The scrolling behaviour make the page impossible to use. The scrolling, and I say this as politely as I can, is fucking horrible and makes me want to smash my phone to little pieces. Sorry for the negative tone. The actual thing looks cool. It'd b…

wow, nice save on this comment :)

Re: Gradify turns the most prominent colors in an image into a CSS gradient

#19
post #2

Really nice effect - I can see this being used on galleries / profiles, etc. What is with the weird scroll behaviour on this page, though? It will refuse to stay where I put it and keeps jumping to odd snap points after a few seconds. Annoying.

Beautiful effect. Well done. (And I have no weird scrolling effects on either Firefox on laptop or Safari on phone, so maybe it was fixed.)

Re: Gradify turns the most prominent colors in an image into a CSS gradient

#20
Nice tool. Looking at devtools, it generates a gradient in each direction (left, right, top, bottom). Each of these gradients is a single color transitioning from fully-transparent to fully-opaque.

The algorithm looks to be breaking the image into the 4 quadrants and finding the dominant color in each quadrant (eliminating any shades that are too gray). e.g. to get the color for the left-to-right gradient, it finds the most dominant color on the right of the image.

Post reply on HN