blendLAB
open fun blendLAB(lab1: @NonNull Array<Double>, lab2: @NonNull Array<Double>, @FloatRange(from = 0.0, to = 1.0) ratio: Double, outResult: @NonNull Array<Double>)(source)
Blend between two CIE-LAB colors using the given ratio.
A blend ratio of 0.0 will result in lab1
, 0.5 will give an even blend, 1.0 will result in lab2
.
Parameters
lab1
3-element array which holds the first LAB color
lab2
3-element array which holds the second LAB color
ratio
the blend ratio of lab1
to lab2
outResult
3-element array which holds the resulting LAB components