what does the 255, currForm.PrieColor.R + 5; 255, currForm.PrieColor.R – 5; 255, 0, currForm.PriceColor.G + 5; 255, 0, currForm.PriceColor.G – 5 means

I need help understanding what each line is doing. Studying for a quiz. All I know is that when the price increase/decrease the color changes. But what does the 255, currForm.PrieColor.R + 5; 255, currForm.PrieColor.R – 5; 255, 0, currForm.PriceColor.G + 5; 255, 0, currForm.PriceColor.G – 5 means.

Here is the code:

class pulseColor
{
private MainForm currForm;

public void pulse(MainForm currForm)
{
this.currForm = currForm;

if (currForm.rfade == true && currForm.PriceColor.R <= 250)
{
currForm.PriceColor = Color.FromArgb(255, currForm.PriceColor.R + 5, 0, 0);
}
else if (currForm.PriceColor.R > 0)
{
currForm.PriceColor = Color.FromArgb(255, currForm.PriceColor.R – 5, 0, 0);
}
if (currForm.PriceColor.R == 255)
{
currForm.rfade = false;
}

if (currForm.gfade == true && currForm.PriceColor.G <= 250)
{
currForm.PriceColor = Color.FromArgb(255, 0, currForm.PriceColor.G + 5, 0);
}
else if (currForm.PriceColor.G > 0)
{
currForm.PriceColor = Color.FromArgb(255, 0, currForm.PriceColor.G – 5, 0);
}
if (currForm.PriceColor.G == 255)
{
currForm.gfade = false;
}
}
}
}

"Order a similar paper and get 15% discount on your first order with us
Use the following coupon
"FIRST15"

Order Now