Function veloren_common::util::color::chromify_srgb

source ยท
pub fn chromify_srgb(luma: Rgb<f32>, chroma: Rgb<f32>) -> Rgb<f32>
Expand description

Preserves the luma of one color while changing its chromaticity to match the other