Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

hex to rgb python

h = input('Enter hex: ').lstrip('#')
print('RGB =', tuple(int(h[i:i+2], 16) for i in (0, 2, 4)))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hex #rgb #python
ADD COMMENT
Topic
Name
5+1 =