developer logo

sv:color

A color node is always a sub node of the color repository (sv:colorRepository) node. It has no children.

The colors defined for the site are part of the appearance site properties underneath the website colors tab.

Node name

Name

Type and description

<color-name>

Dynamic / Model dependent


The given name of the color

Properties

Name

Type and description

displayName

javax.jcr.PropertyType.STRING


The given name of the



htmlHexValue

javax.jcr.PropertyType.STRING


The hex value of the color as used in a HTML context. Ex. #C0C0C0

SiteVision Utility API tip!

  • ​The ColorUtil interface exposes a set of methods for easy access of sv:color nodes based on their names or hex values