cargo_demo2::utils

Function mix

Source
pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor
Expand description

等量的混合两个主要颜色 来创建一个次要颜色。