function colorToGlsl(color) {
  const array = asArray(color);
  const alpha = array.length > 3 ? array[3] : 1;
  return arrayToGlsl([array[0] / 255, array[1] / 255, array[2] / 255, alpha]);
}
Will normalize and converts to string a `vec4` color array compatible with GLSL.
@param {string|import("../color.js").Color} color Color either in string format or [r, g, b, a] array format,
with RGB components in the 0..255 range and the alpha component in the 0..1 range.
Note that the final array will always have 4 components.
@return {string} The color expressed in the `vec4(1.0, 1.0, 1.0, 1.0)` form.