This can speed up CanvasPortion initialization
...to avoid otherwise unused HSL conversion, which causes problems for some RGB values (like Color(1, 0, 0))