| Syntax | <hex-color> | <func-color> | <prokee-hex-color> | <color-name> | transparent | initial | inherit |
| Initial value | currentColor |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setBorderTopColor() element::getBorderTopColorStr() element::getBorderTopColor() |
| <hex-color> |
A hexadecimal color value.
|
| <func-color> |
Color value in a functional notation.
The alpha value 'a' has to be within the interval [0.0,1.0], where 0.0 defines full transparency. |
| <color-name> | A color name as defined in SVG 1.1 (See SVG color specification here). CSS Level 3 color names are identical to the names specified with SVG. |
| <prokee-hex-color> |
A hexadecimal color value. This is a prokee-specific definition and not part of CSS.
|
| transparent | Keyword. This sets a transparent color. This is also provided here for the foreground color, but should only be used for background colors. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |