getSwatchForTarget

Returns the selected swatch for the given target from the palette, or null if one could not be found.