# 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)
{
}

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)
{
}
}
}
}

#### What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."

0 replies