You are on the right track, but made a very minor mistake.
The color format you are using is incorrect. From Android white papers,
Supported formats: #RRGGBB #AARRGGBB or one of the following names: "red", "blue", "green", "black", "white", "gray", "cyan", "magenta", "yellow", " light, dark, gray, light, darkgrey, aqua, fuchsia, lime, maroon, navy, olive, purple, silver "," teal. "
So basically you are using the wrong color format for the parseColor() method. Just delete one extra # and you will go well.
footer.setBackgroundColor(Color.parseColor("#ffb5d6e1"));
Bonus
For simplicity, you can also remove the opacity component from your color. You set the opacity to 100% using "ff", but this is the default behavior. This way you can simply remove this component and keep it simple, for example,
footer.setBackgroundColor(Color.parseColor("#b5d6e1"));