![]() Effectively, just enforce a certain amount of distance between your colors chosen from the histogram. Edit: if gradients are used, you'll want to pick distinct "peaks" of colors that is, you may have a whole bunch of colors right around "orange" if orange is one of the main colors used in the gradients. The top X colors in the histogram are the theme. To find the primary X colors, screencap the app. Feel free to check them out and ask yourself, "How would I duplicate this? How could I improve it?" There are several existing sites that perform a similar function. Describing a method for reliably determining the main text color used in the website screenshot (will likely require its own, separate, algo).Allowing the user to tweak the color scheme according to various 'moods' such as 'Colorful', 'Bright', 'Muted', 'Deep', etc.Code is how we create - keep it simple and beautiful. Describing an algorithm that is simple yet effective.( Note: Please simply describe your algorithm - there's no need to post actual pseudocode.)īonus points (street cred points, not actual SO points) for: The image used in our particular situation is a screenshot of the user's website, taken at full resolution (e.g. Given an image, how do you create a corresponding color scheme? In other words, how do you select the primary X colors in an image (where X is defined by the web app). However, we have an image (a screenshot of the user's website), so why can't we just satiate their laziness and do it for them? Answer: We can, and it will be a fun programming exercise! :) The Challenge A portion of the existing app requires the user to select a color scheme to use. In fact, the more work we do for them, the more they love the service. And, we've found that our users are obsessed with being lazy. So, I'm working on a fresh iteration of a web app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |