Using a simple algorithm, RGBaster is capable of analyzing an image's composing colors and ranking them based on used percentage.
It can then use this information to provide developers with a list of most used colors inside the analyzed image.
By default the first ten most used colors are returned with this plugin. This can be changed if necessary.
RGBaster only extracts dominant colors. For a real-world usage example, check out Adaptive Backgrounds, a script built using RGBaster to extract the dominant color and apply it as the background of an image's parent container.
A small demo is included with the download package. Just make sure to correct the RGBaster library's loading path so it can work properly.
What is new in this release:
- Added "strict" declaration.
Requirements:
- JavaScript enabled on client side
Comments not found