Problems with coordinate ranges when doing conversion from LCH to LAB to RGB