{
let colors = ['cyan', 'magenta', 'yellow', 'black']
let hex = ''
let hex_array = []
for (let i = 0; i < 3; i++){
let color = colors[i]
if (color === 'cyan') {
hex = rgb2hex(0, 255, 255)
} else if (color === 'magenta') {
hex = rgb2hex(255, 0, 255)
} else if (color === 'yellow') {
hex = rgb2hex(255, 255, 0)
} else {
hex = rgb2hex(255, 255, 255)
}
hex_array.push(hex)
}
return hex_array
}