Skip to main content

stable_hue

Function stable_hue 

pub fn stable_hue(actor_hex: &str) -> f32
Expand description

Deterministic avatar hue for an actor with no registered colour: FNV-1a over the actor hex, folded into [0, 360). Same actor, same hue in every process and on every peer.