the border is black if the box is opaque