Lurker News

Comments (52) 19 threads

huula1 reply#
Looks cool! I recently posted HuulaTypesetter (https://huu.la/ai/typesetter) which infers font sizes for web pages based on DOM context and CSSRooster which infers CSS class names based on the context. I'm really happy to see that there are more intelligence happening in the design world! The dream of replacing Web UI design with AI will one day come true!

All (deep) learning models suffers the issue of 'garbage in garbage out', so one way that could make the palettes more related to real world web designs is to learn the colors used in web designs directly instead of from photographs and movies since those data will has much more noise than good web designs (with video and images stripped out of course).

agumonkey1 reply#
I'm not 100% fond of the layout suggestions, but I have to admit there's a peaceful balance in them.
huula2 replies#
Yeah, statistical models just give you the most probable result (in terms of the data we train it on), so if you are a creative person, you probably won't find it useful.
cardigan#
Hmm, a model could also give you multiple very different designs to help you see more possibilities
vanderZwan#
Sounds like it would be ideal for situations where you want the layout itself to be as neutral and out-of-the-way as possible, since these are judgement biased by normalisation.
wiradikusuma4 replies#
sorry for the stupid question, but how do you "apply" color palettes? i mean, sure they look great as colorful columns, but how do you put them into UI?

let say Bootstrap. i tried using 1st color for button, 2nd color for "success" label, etc. it ended up ugly.

Jack000#
currently the colors don't encode context, so you have to be a bit creative in applying them.

I am working on something that does encode context though.

michaelbuckbee1 reply#
This is what I'd want as well. Bootstrap is a good example of color application as they define SASS variables to action states:

By default:
primary == dark blue success == green warning == orange info == light blue danger == red
Then the rest of the styling for the theme is calculated from that, so you have other elements defined as: whatever the primary color is but 40% darker.
What I'd love is a color palette picker that let me put in a particular color orange and then would spit out:
"Hey, here's the green, dark blue, light blue, and red that match that orange you chose."

crucialfelix#
Warning danger info success each carry some specific meaning. I would keep the colors standard (yellow red blue green) but match the saturation to the of the pallette.

Primary and secondary are usually for backgrounds of major elements, detail elements to draw attention to. The other 3 colors should be boring but pleasant. For subtle variation without drawing attention to the elements

kccqzy#
If your web page consists of distinct "rows" or sections, try setting these colors to be the background colors of those rows.
IAmGraydon#
You typically want to choose 1 or 2 of the colors to base 90% of the theme around, and then use use rest for accents. You usually can't just distribute them evenly or you'll end up with a mess.
forlorn2 replies#
I personally love color palettes generated by Coolors https://coolors.co/.
usaphp#
Colormind interface is simpler and more user friendly I think, I was able to start generating color schemes right away, in coolors tho I had to watch a tutorial to learn what those buttons are.
component#
I just tested coolors out using a screen capture of Spotify desktop on MacOS and it didn't pickup the green color. I guess it's only picking out dominant colors

Colormind picked the green color on all attempts
Edit: after several more attempts coolors started picking up the green color
Test Image: http://i.imgur.com/6pMMV4W.jpg

whistlerbrk1 reply#
I do love these color scheme generators, and perhaps this is a suggestion for improvement, the color vs. dominance of the color seems very important as well. That is, proportionally showing the palette based on how dominant that color should be in an overall end design
Jack000#
the issue I see is that most sites have a white/beige background, which could get repetitive for the purposes of design inspiration. Maybe train a separate model for bootstrap/direct insertion.

Load more comments