whole_func_string: function createColor(color, alpha) {
      return alpha >= 1
          ? color
          : Color(color)
                .alpha(alpha)
                .hsl()
                .string();
  }
func_code_string: function createColor(color, alpha) {
      return alpha >= 1
          ? color
          : Color(color)
                .alpha(alpha)
                .hsl()
                .string();
  }
func_documentation_string: Creates a HEX or HSLA() color based on the given alpha.
  
  @param {string} color
  @param {number} alpha
  
  @return {string}