trying to learn how to use if statements

Thanks for the help that makes sense on why they would not shut off then. how would one write the code for making 2 leds overlap in a range to have 2 on like set the blue led to 355 in the first if statement but have the red led still go off after the range is not true below 255. seeing you will have to remove the write low to the red led form the blue led if statement to get it to come on. would the best way be writing another else if statement to say turn the led off led if in the of range?