Some Frame samples allow you to customize their border color, while some do not.
For example, add a frame to the canvas, there is no color panel, then you can't adjust its border color.
Add a frame, and the color panel appears on the top left corner of the canvas; then, you can adjust its border color.