Scaled Mapping a Value

Another example How do I lerp colors on a curve? (not linear interpolation) - #3 by Chrisir