code: function serializeColor(sassColor) {
    const alpha = Math.round(sassColor.getA() * 100) / 100;
    const r = Math.round(sassColor.getR());
    const g = Math.round(sassColor.getG());
    const b = Math.round(sassColor.getB());
  
    if(alpha < 0.999) {
      return `rgba(${r},${g},${b},${alpha})`;
    } else {
      const hex = `#${toColorHex(r)}${toColorHex(g)}${toColorHex(b)}`;
      const parsedColor = parseColor(hex);
      if(parsedColor.keyword != null) {
        return parsedColor.keyword;
      } else {
        return hex;
      }
    }
  }
docs: Serialize a given sass color into a color name like 'white', an rgba(r,g,b,a), or #000000 string
  based on the color provided