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-family$kendo-font-familyinheritDefault: $kendo-font-familyComputed: inherit
Description: The font family of the ColorPalette.
kendo-color-palette-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
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-map-get( $kendo-spacing, 6 )24pxDefault: k-map-get( $kendo-spacing, 6 )Computed: 24px
Description: The width of the ColorPalette tile.
kendo-color-palette-tile-height$kendo-color-palette-tile-width24pxDefault: $kendo-color-palette-tile-widthComputed: 24px
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.