dynamic color sampling