klyn.gui.windows.Color.mix
method
public mix(other as Color, ratio as Double) as Color:
Description
Mixes this color with another one. `ratio = 0.0` keeps the current color, `ratio = 1.0` returns the other color.
accent = Color(37, 99, 235, 1.0)
soft = accent.mix(Color.white(), 0.2)