Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec.rgb_to_hex_color  (  r g b  )[source]

Parameters:
rint_like

The fraction of red (0-255).

gint_like

The fraction of green (0-255).

bint_like

The fraction of blue (0-255).

Returns:
outstr

A hexadecimal str representation of the rgb tuple.

API navigation