· just now. Report Abuse. Bilirubin is produced by the liver as a byproduct of the destruction of red blood cells. It's rather yellowish in color, which is why bruises will turn yellow as they heal. The liver eliminates it in bile, where it combines with other chemicals to give stools the brownish color.