When using the dialog if a color is entered that has a rounding error the program will output an incorrect color. For example the color 0xECFFEC, gets converted to 0xEBFFEB. These errors are fixed by adding rounding the HSL conversion routine. I've also added some test cases to demonstrate the error.
When using the dialog if a color is entered that has a rounding error the program will output an incorrect color. For example the color 0xECFFEC, gets converted to 0xEBFFEB. These errors are fixed by adding rounding the HSL conversion routine. I've also added some test cases to demonstrate the error.