I am trying to make a tcolorbox where the right border is blue and the top border is green, but can't seem to find any options online or in the manuals for individual line colors. Is this possible?

  • You can draw the frame by yourself using tcolorbox options geometry nodes, frame code={<tikz code making use of node "frame">}. Commented Aug 18, 2021 at 1:44

1 Answer 1


You can use the library skins to add individual borders on every side of the box; see chapter 10 in the documentation.

Here's a small example.

    sharp corners,
    borderline north={2pt}{0pt}{green},
    borderline east={2pt}{0pt}{blue},
A box with a blue right border and a green top border.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .