Simply said what they do is
- Select an area that you want to edit
- Create a color mask for that area in a seperate layer
- On the original layer, for the mask area apply an opacity of 50%
- On the second colored layer, apply also an opacity of 50%
- Now fuse both layers together
There are enough functions to do something similar to this in OpenCV.