Skip to content

Make KColorUtils::mix account for alpha properly

Jan Blackquill requested to merge work/janb/mix into master

The current blending code doesn't account for the different alpha value of each colour properly, leading to more transparent colours disproprtionately affecting the final result's colour components.

This corrects the code in order to take source alpha values into account when blending.

Merge request reports