> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# border-right-color

APISummary
## Introduction

Used to set the color of the right border.

## Examples

**This is an example below: css-api**

**Entry:** `src/border-right-color`
**Bundle:** `dist/border-right-color.lynx.bundle`

```tsx
import { root } from "@lynx-js/react";
import "./index.scss";

const BorderRightColor = () => {
  return (
    <view className="intro">
      <text className="border-color">
        {"\n border-left-color: red; \n border-right-color: blue; \n border-top-color: green; \n border-bottom-color: black; \n"}
      </text>
    </view>
  );
};

root.render(<BorderRightColor />);

```

v0.11.0



## Syntax

```css
border-right-color: red;
border-right-color: #ffbb00;
border-right-color: rgb(255, 0, 0);
border-right-color: hsla(100%, 50%, 25%, 0.75);
border-right-color: currentColor;
border-right-color: transparent;
```

### Values

- `transparent`
  The border color is transparent.

- [`<color>`](/next/api/css/data-type/color.md)
  The specific color of the border.

## Formal definition

| Initial value | transparent |
| Applies to | all elements |
| Inherited | no |
| Animatable | yes |


## Formal syntax

```
transparent | <color>
```

## Differences from the Web

- Global values such as `inherit`, `initial`, and `unset` are not supported.

## Compatibility

**Compatibility Table**

**Query:** `css.properties.border-right-color`

[Source](https://github.com/lynx-family/lynx/blob/develop/tools/css_generator/css_defines/9-border-right-color.json) · [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-right-color)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| border-right-color | Yes (1.0) | Yes (3.4) | Yes (1.0) | Yes (1.0) | Yes (1.0) | Yes |

**`border-right-color`**

**Specifications:**

