code: function ( color, parse ) {
              var type = this.type( color, 'color.toHsl() : "' + color + '" ' + MSG_NOT_COLOR ),
                  objColor;
      
              switch ( type ) {
                  case 'rgb':
                  case 'rgba':
                      objColor = this.rgbToHsl( color, true );
                      break;
                  case 'hsl':
                      return parse? this.parseHsla( color ) : color;
                      break;
                  case 'hsla':
                      objColor = this.parseHsla( color );
                      break;
                  case 'keyword':
                      color = this.keyword( color, 'color.toHsl() : "' + color + '" ' + MSG_NOT_COLOR );
                  case 'hex':
                      color = this.hexToRgb( color );
                      objColor = this.rgbToHsl( color, true );
                      break;
              }
      
              return parse? objColor : 'hsl(' + objColor.h + ', ' + objColor.s + '%, ' + objColor.l + '%)';
          }
docs: Color문자열 ("hex", "rgb", "rgba", "hsl", "hsla", "keyword")을 Hsl문자열로 변환하여 반환.
  @param	{String}	color		Color문자열
  @param	{Boolean}	parse		반환값을 Object{h, s, l}로 받을것인지 설정, 기본값 false;
  @return	{String || Object}	"hsl(360, 20%, 10%)" , Object{h, s, l}