Color extraction utilities