i'm new here and i actually started learning recently and i'm making my first Theos tweak (i made some with flex) and as i said in the title i'm looking for a way to get nav bar color or a color from part of the screen and apply it as the status bar background color
You're going to need to write a function to detect your targetPixelColor as a UIColor, and then apply that color to the status bar within viewWillAppear using something like
-(void)viewWillAppear:(BOOL)animated{
[self.navigationController.navigationBar setBarTintColor:targetPixelColor];
}