const aaa = [
["white", "goodness"],
["blue", "tranquility"]
];
function colourAssociation(array) {
const res = array.reduce((acc, [key, value]) => {
acc.push({ [key]: value });
return acc;
}, []);
}
console.log(colourAssociation(aaa));