changed from rgb to hsl for colors