((max(R,G,B)-min(R,G,B))/(1-\[LeftBracketingBar]max(R,G,B)-min(R,G,B)-1\[RightBracketingBar])).