The contrast ratio is calculated in real-time two of the color by manipulating the slider of each RGB component , and displays .