To manipulate colors we will modify the argb (Alpha, Red, Green and Blue) values of a color.
First extract RGB values from your color.
Now you can reduce or increase red, green, and blue values and combine them to be a color again:
Or if you want to add some alpha to it, you can add it while creating the color:
Alpha and RGB values should be in the range [0-225].