Suggest the names `blue_limit` and `red_limit` as slightly clearer.  Our style has been to have slightly verbose parameter names to aid clarity and legibility.  It's not a big deal here, but I think the longer names would probably be a bit clearer.  (Probably also the attribute names to match.)