How to convert LIFX HSBK to HEX/RGB (e.g. #00FF00)

Wow! I can’t believe I hadn’t come across that! Thanks so much!

Follow up question:

When my bulb is set to deep green, the HTTP API returns:

HUE: 86
Saturation: 1.0
Brightness: 1.0

However, when I try to show that in css as

hsl(86, 100%, 100%) the resulting color is white! But if I change the L to 50%, it comes through as green.

This leads me to believe there’s a difference between LIFX “Brightness” versus CSS “Lightness”. i.e. LIFX 1.0 Brightness is not the same thing as CSS 100% “Lightness”.

Can anyone help shed light on this?

Thanks!