CSS column-rule-color Property
Description
The column-rule-color property controls the color used for the dividing line drawn between columns inside a multi-column container. It does not create or change the presence of a rule by itself - it only defines the visual color of that divider when a rule is actually drawn. Visually, this property is used purely as a decorative stroke between the flow of columnized content, so changing it affects only the appearance of the separator, not the flow or layout of the content inside the columns.
When working with column rules you normally use column-rule-style and column-rule-width together: the style and width control whether a rule is rendered and how thick or patterned it is, while column-rule-color supplies the color for whatever rule exists. It also pairs with the shorthand column-rule, which can set color, style and width in a single declaration. The visible effect of the color will also depend on spacing set by column-gap because the rule sits in the gap region between columns; adjusting gap and width together helps you get the desired visual balance.
In practical usage, treat column-rule-color as a visual finishing touch: choose colors that maintain sufficient contrast with column backgrounds and text, and be mindful that the rule is a paint-layer decoration rather than an element you can target in the DOM. Because it’s part of the multi-column visual formatting, the rule is repeated for each set of columns produced by the element’s layout; it will visually appear where the multi-column formatting generates separators, and its impact is primarily aesthetic and compositional rather than structural.
Definition
- Initial value
- currentColor
- Applies to
- Multi-column elements
- Inherited
- No
- Computed value
- The same as the computed value for the 'color' property
- Animatable
- No
- JavaScript syntax
- object.style.columnRuleColor
Interactive Demo
Syntax
column-rule-color: <color>
Values
- <color>Is a <color> value representing the color of the rule separating columns.
Example
Browser Support
The following information will show you the current browser support for the CSS column-rule-color property. Hover over a browser icon to see the version that first introduced support for this CSS property.
This property is supported by all modern browsers.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 1st January 2026
