DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+7 =
Submit