---
title: Rounded Corners
description: Enhance your visuals by rounding image corners with customizable radius, curvature, and background color using Storyblok’s Image Service.
url: https://storyblok.com/docs/api/image-service/operations/rounded-corners
---

# Rounded Corners

Round the corners of an image by appending `filters:round_corner(A|B,R,G,B,T)` The parameters are defined as follows:

-   A (Radius): Integer specifying the corner radius. It ranges from `0` to half the image width (based on either the original or [resized](/docs/api/image-service/operations/resize) width).
-   B (Ellipsis): Optional integer defining the curvature. It ranges from `0` to one-fourth of the image width (based on either the original or [resized](/docs/api/image-service/operations/resize) width).
-   R, G, B (Background Color): Integer values (`0` - `255`) representing the RGB color of the background outside the rounded corners.
-   T (Transparency): Boolean with a value of either `0` (opaque) or `1` (transparent). Try the interactive demo below.

> [!NOTE]
> The interactive Image Service demo is not available in the Markdown version of this page.

## Pagination

-   [Previous: Rotate](/docs/api/image-service/operations/rotate)
-   [Next: Cache](/docs/api/image-service/cache)
