normalizedColor = (input) => {
  if (isHexColor(input)) {
    return hexToRgbNormalized(input)
  } else if (Array.isArray(input) && input.length >= 3) {
    input = input.length < 4 ? [input[0], input[1], input[2], 1] : input.slice(0, 4)
    if (input[0] > 1 || input[1] > 1 || input[2] > 1) {
      return input.map((x) => x / 255)
    }
    return input
  }
}
outputs a normalized [0...1] range, 4 component array color
@param  {} input