sharp-vibrant
Version:
Extract prominent colors from an image in a node environment using sharp.
238 lines • 4.06 kB
JSON
[
{
"name": "1.jpg",
"dimensions": {
"width": 640,
"height": 426
},
"palettes": {
"node": {
"Vibrant": {
"rgb": [
59,
213,
210
],
"population": 10001
},
"LightVibrant": {
"rgb": [
212,
216,
116
],
"population": 1302
},
"DarkVibrant": {
"rgb": [
59,
26,
13
],
"population": 7310
},
"Muted": {
"rgb": [
158,
104,
94
],
"population": 1216
},
"LightMuted": {
"rgb": [
203,
201,
204
],
"population": 1744
},
"DarkMuted": {
"rgb": [
86,
57,
44
],
"population": 1152
}
}
}
},
{
"name": "2.jpg",
"dimensions": {
"width": 640,
"height": 426
},
"palettes": {
"node": {
"Vibrant": {
"rgb": [
249,
236,
17
],
"population": 761
},
"LightVibrant": {
"rgb": [
232,
140,
160
],
"population": 2
},
"DarkVibrant": {
"rgb": [
13,
19,
92
],
"population": 10879
},
"Muted": {
"rgb": [
114,
120,
143
],
"population": 1296
},
"LightMuted": {
"rgb": [
196,
192,
177
],
"population": 818
},
"DarkMuted": {
"rgb": [
86,
84,
44
],
"population": 3533
}
}
}
},
{
"name": "3.jpg",
"dimensions": {
"width": 640,
"height": 426
},
"palettes": {
"node": {
"Vibrant": {
"rgb": [
132,
63,
49
],
"population": 10979
},
"LightVibrant": {
"rgb": [
214,
200,
169
],
"population": 11803
},
"DarkVibrant": {
"rgb": [
39,
87,
70
],
"population": 16483
},
"Muted": {
"rgb": [
160,
152,
123
],
"population": 10640
},
"LightMuted": {
"rgb": [
225,
221,
194
],
"population": 19195
},
"DarkMuted": {
"rgb": [
34,
68,
68
],
"population": 23
}
}
}
},
{
"name": "4.jpg",
"dimensions": {
"width": 640,
"height": 426
},
"palettes": {
"node": {
"Vibrant": {
"rgb": [
199,
32,
162
],
"population": 17
},
"LightVibrant": {
"rgb": [
243,
220,
109
],
"population": 25
},
"DarkVibrant": {
"rgb": [
161,
17,
29
],
"population": 360
},
"Muted": {
"rgb": [
132,
145,
116
],
"population": 3
},
"LightMuted": {
"rgb": [
141.37974683544303,
119.10759493670888,
11.620253164556967
],
"population": 0
},
"DarkMuted": {
"rgb": [
76,
84,
54
],
"population": 3
}
}
}
}
]