﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1335	_ColorConvertRGBtoHSL incorrectly normalised to 240	QED	Gary	"At the end of the UDF, HSL values are multiplied by 240 for no reason.

{{{
	$avArray[0] = $nH * $_COLORCONSTANTS_HSLMAX
	$avArray[1] = $nS * $_COLORCONSTANTS_HSLMAX
	$avArray[2] = $nL * $_COLORCONSTANTS_HSLMAX
}}}

where

{{{
Global Const $_COLORCONSTANTS_HSLMAX = 240
}}}

There is no documentaion in the help file other than an external link.  According to that link, there is no normalisation to 240.  Also Wiki does not show any normalisation to 240.

In the converse funtion _ColorConvertHSLtoRGB, the input HSL values have all been divided by 240 (incorrectly assuming input is normalised to 240)."	Bug	closed		Standard UDFs	3.3.1.6	None	No Bug	_ColorConvertRGBtoHSL	
