scamp_extensions.engraving.note_graph.rgb_to_hex

scamp_extensions.engraving.note_graph.rgb_to_hex(rgb)[source]

Convert an (red, green, blue) tuple, each component from 0 to 255, to a hex color string like “#ff7a00”.

Parameters:

rgb – the (red, green, blue) tuple to convert