PHP HSL Segmenter