Function color_util::hueBlendPlus
Defined in File blend.hpp
Function Documentation
-
inline color_util::ColorHSVA color_util::hueBlendPlus(const color_util::ColorHSVA &color_a, const color_util::ColorHSVA &color_b, double ratio)
Return a color that blends color_a and color_b in hsv space, using the shortest distance between the hues.
Note the shortest distance between the hues may wrap around 1.0
Only available in floating point because it assumes the hue is [0.0, 1.0]
- Parameters:
color_a –
color_b –
ratio – value in range [0.0, 1.0]
- Returns:
blend between color_a and color_b