apply.color function

Applies a function to each entry of a colorspace::color palette.