infer svg fill colour from generated CSS output