3 references to Channel
Aspire.Tray.Tests (3)
src\Aspire.Tray\Common\TrayPanelPalette.cs (3)
101
static double Luminance(PanelColor color) => 0.2126 *
Channel
(color.R) + 0.7152 *
Channel
(color.G) + 0.0722 *
Channel
(color.B);