get_hex

ginga.colors.get_hex(color_tup, alpha=None)[source]

Return RGB ‘hex/web/hash notation’ of a given RGB color tuple.