Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

colorgram in python

import colorgram as cg

color_list = cg.extract("dot-img.jpg", 60)
color_palette = []

for count in range(len(color_list)):
    rgb = color_list[count]
    color = rgb.rgb
    color_palette.append(color)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #colorgram #python
ADD COMMENT
Topic
Name
8+9 =