unity color set alpha

Code Example - unity color set alpha

                
                        //much like Vector3, individual pieces of a color cannot be changed
//but you can create a temporary color with the same values but a different alpha
image.color = new Color(image.color.r, image.color.g, image.color.b, 1f);