code: public static RgbaColor fromHsl(String hsl) {
          String[] parts = getHslParts(hsl).split(",");
          if (parts.length == 3) {
              float[] HSL = new float[] { parseInt(parts[0]), parseInt(parts[1]), parseInt(parts[2]) };
              return fromHsl(HSL);
          }
          else {
              return getDefaultColor();
          }
      }
docs: Parses an RgbaColor from a CSS3 HSL value, e.g. hsl(25, 100%,
  80%)
  
  @return the parsed color