private void _UpdateImage()
{
double hue = 0f;
double saturation = .9f;
double luminosity = .5f;
for (int i = 0; i < _image.width; i++)
{
for (int k = 0; k < _image.height; k++)
{
hue = (float)(_image.height - k - 1) / _image.height;
// HSL to RGB convertion.
Color pixelColor = GetColorFromHSL(hue, saturation, luminosity);
_image.SetPixel(i, k, pixelColor.ToUColor());
}
_image.Apply();
}
}