CSS column-rule-color property

Description

CSS column-rule-color property defines the color of column ruler.

Syntax

column-rule-color : currentColor | color-name | rgb value | hexadecimal value

Property values

currentColorDefault

currentColor keyword represents the same color for the column ruler as of text color.

column-rule-color: currentColor;

color-name

The following demo represents skyblue color for column ruler.

column-rule-color: skyblue;

rgb value

It represents the rgb value of a color. The hexadecimal value of the red color for the column ruler is given below.

column-rule-color: rgb(255,0,0);

hexadecimal value

It represents the hexadecimal notation of the red color. The hexadecimal notation of blue color for the column ruler is given below.

column-rule-color: #0000ff;

Applicable to

It applies to multi-column container.

#CSS digger
Was this article helpful?

 
CSS column-rule-color property defines the color of column ruler.
×

Ctrl+D