This code is not of very good quality, but a few methods such as the RGB/HSV/HSL/YUV conversions are still useful, so I’m deciding to keep them for now.