ColorPalette

ColorPalettes provide users with a selection of predefined colors for various design or styling purposes, making color selection easier.

Sass Variables

The Telerik and Kendo UI ColorPalette enables you to configure and customize its appearance through the available Sass variables.

VariableDefault ValueComputed ValueValue
kendo-color-palette-font-familyvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)Default: var( --kendo-font-family, inherit )Computed: var(--kendo-font-family, inherit)
Description: The font family of the ColorPalette.
kendo-color-palette-font-sizevar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)Default: var( --kendo-font-size, inherit )Computed: var(--kendo-font-size, inherit)
Description: The font size of the ColorPalette.
kendo-color-palette-line-height00Default: 0Computed: 0
Description: The line height of the ColorPalette.
kendo-color-palette-tile-widthk-spacing(6)var(--kendo-spacing-6, 1.5rem)Default: k-spacing(6)Computed: var(--kendo-spacing-6, 1.5rem)
Description: The width of the ColorPalette tile.
kendo-color-palette-tile-height$kendo-color-palette-tile-widthvar(--kendo-spacing-6, 1.5rem)Default: $kendo-color-palette-tile-widthComputed: var(--kendo-spacing-6, 1.5rem)
Description: The height of the ColorPalette tile.
kendo-color-palette-tile-focus-shadow0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .5 )0 0 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.5)Default: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .5 )Computed: 0 0 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.5)
Description: The shadow of the ColorPalette focused tile.
kendo-color-palette-tile-hover-shadow0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .8 )0 0 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.8)Default: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .8 )Computed: 0 0 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.8)
Description: The shadow of the ColorPalette hovered tile.
kendo-color-palette-tile-selected-shadow0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 )0 1px 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px whiteDefault: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 )Computed: 0 1px 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px white
Description: The shadow of the ColorPalette selected tile.