Dapatkan setiap warna primer dan tambahkan ke dalam array javascript

get primary colors from response and add into an array 
Annoyed Albatross