Add function fadeColor in photoeffects.cpp