--- url: https://docs.youcan.shop/changelog/theme-color-palette.md --- You can define a palette of named colors for the `color` and `color_background` settings of a theme. *** # Color palette * Add a `color_palette` setting with 2 to 20 named colors to `settings_schema.json`. Each `settings..` is a [color](/themes/objects/color) object, and you can loop over the colors in key order. See [color\_palette](/themes/settings/input_settings#color_palette). * A `color` or `color_background` value or default can be a palette color, for example {{ settings.colors.accent }}. When the seller changes that palette color, the setting changes with it. * When you output a [color](/themes/objects/color) object directly, you get its hex value. Before, you got the object name.