modified parameterof rainbow effect