HSL range for hue

According to online color pickers Hue in HSL ranges from 0->360. (I’m using hsla with nodejs)
However, it seems like in plotly this value is truncated to 255 hence values above appear in blue rather then ranging from blue to pink to red.

Hmm interesting. Can you share a reproducible example to help us debug?