Template Function color_util::hueBlend
Defined in File blend.hpp
Function Documentation
-
template<typename hsva>
inline hsva color_util::hueBlend(const hsva &color_a, const hsva &color_b, double ratio) Return a color that is a linear blending of color_a and color_b in hsv space.
- Parameters:
color_a –
color_b –
ratio – value in range [0.0, 1.0]
- Returns:
color_a * (1 - ratio) + color_b * ratio