Tomás Lin’s Programming Brain Dump

Flex, Grails, Facebook, iPhone and all that Jazz

How Much Hue is There? Flex, HSB and BitmapData.

leave a comment »

Here is a simple tool in Flex that calculates what percentage of top level hues are in an image.

A simple hue visualizer

A simple hue visualizer

Play with the tool by clicking here: Hue Analysis

Download the source file here: ColourAnalysis.mxml

( depending on your SDK, you might need to also download the HSBColor.as file: here )

Other Interesting Tools Like This:

Color, Name, Hue: http://www.colblindor.com/color-name-hue/
Name that Color: http://chir.ag/projects/name-that-color/
BitmapData Average Colours: http://blog.soulwire.co.uk/flash/actionscript-3/extract-average-colours-from-bitmapdata/
BitmapData Colour Palette: http://blog.soulwire.co.uk/flash/actionscript-3/colourutils-bitmapdata-extract-colour-palette/#more-195

Written by Tomas Lin

April 18, 2009 at 3:14 pm

Posted in Uncategorized

Tagged with , , ,

Leave a Reply