Skip to main content

nearest_presence_hue

Function nearest_presence_hue 

pub fn nearest_presence_hue(colour: AlphaColor<Srgb>) -> Option<PresenceHue>
Expand description

The presence hue nearest to colour’s, for a colour that arrives from outside (a host’s accent, a roster’s packed colour). A grey has no hue and gives None.