use raster to get color