In this paper we present a pixel coloring algorithm, to be considered as a tool in fuzzy classification. Such an algorithm is based upon a sequential application of a divisive binary procedure on a fuzzy graph associated to the image to be classified, taking into account surrounding pixels. Each color will suggest a possible class, if homogeneous, and the hierarchical structure of colors will allow gradation between classes.