match colors with reference image