Overview
Sources
Libraries
Images API

Border Color border-color

Specify the color to be used for rendering border over the image.

Values

By default border color is non-transparent white. To use other colors you must explicitly specify it.

For more information on how to specify colors visit the color values section.

Examples

Specify a border size of 40 with border=40 and a light gray border color with border-color=lightgray:

GET
https://assets.imglab-cdn.net/woman.jpeg?border=40&border-color=lightgray
Woman holding a camera with a border of 40 and a lightgray border color.
x px

Specify a border size of 40 with border=40 and a half-transparent white color with border-color=FFF8:

GET
https://assets.imglab-cdn.net/woman.jpeg?border=40&border-color=FFF8
Woman holding a camera with a border of 40 and a semi-transparent border color specified with hexadecimal value.
x px