Changed brightness value to percentage