luminosity_color
function · ferroui-base · v0.5.0
fn luminosity_color(tint_color: crate::media::Color, luminosity_opacity: Option<f64>) -> crate::media::Color
GetLuminosityColor: the colour of the luminosity blend for a tint
colour whose alpha is the tint opacity the user set. With a luminosity
opacity it is the tint colour at that opacity; without one, the tint
colour with its value clamped to 12.5 %..96.5 %, at an opacity mapped
from the tint opacity onto 15 %..103 % (at most 100 %).
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.