function createHueSaturation() {
var idMk = charIDToTypeID( "Mk " );
var desc1832 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref1460 = new ActionReference();
var idAdjL = charIDToTypeID( "AdjL" );
ref1460.putClass( idAdjL );
desc1832.putReference( idnull, ref1460 );
var idUsng = charIDToTypeID( "Usng" );
var desc1833 = new ActionDescriptor();
var idType = charIDToTypeID( "Type" );
var desc1834 = new ActionDescriptor();
var idpresetKind = stringIDToTypeID( "presetKind" );
var idpresetKindType = stringIDToTypeID( "presetKindType" );
var idpresetKindDefault = stringIDToTypeID( "presetKindDefault" );
desc1834.putEnumerated( idpresetKind, idpresetKindType, idpresetKindDefault );
var idClrz = charIDToTypeID( "Clrz" );
desc1834.putBoolean( idClrz, false );
var idHStr = charIDToTypeID( "HStr" );
desc1833.putObject( idType, idHStr, desc1834 );
var idAdjL = charIDToTypeID( "AdjL" );
desc1832.putObject( idUsng, idAdjL, desc1833 );
executeAction( idMk, desc1832, DialogModes.NO );
return activeDocument.activeLayer;
}