use clustering for mapping to colors