Extracting a color value from a gradient by rating

Two quick ways to extract a single color value by a given percentage from a gradient.