public ColorRGBA gradient(ColorRGBA c_8, double k) { ColorRGBAf c = c_8.GetAsRGBA_Floats(); ColorRGBAf ret; ret.red = (float)(red + (c.red - red) * k); ret.green = (float)(green + (c.green - green) * k); ret.blue = (float)(blue + (c.blue - blue) * k); ret.alpha = (float)(alpha + (c.alpha - alpha) * k); return(ret.ToColorRGBA()); }