A Java module for sampling color values from a gradient.