Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python random hex color

import random
r = lambda: random.randint(0,255)
print('#%02X%02X%02X' % (r(),r(),r()))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #random #hex #color
ADD COMMENT
Topic
Name
5+7 =