if (!init) { hue = color_get_hue(image_blend); sat = color_get_saturation(image_blend); val = color_get_value(image_blend); init = true; }