Python Couleur hexagonale aléatoire
import random
r = lambda: random.randint(0,255)
print('#%02X%02X%02X' % (r(),r(),r()))
RonaldK94
import random
r = lambda: random.randint(0,255)
print('#%02X%02X%02X' % (r(),r(),r()))
"#{:06x}".format(random.randrange(256 ** 3))