This is an old revision of the document!
$ convert <input> -colorspace HSL -channel L -separate <output>