An image retrieval system using the layout of colors in images