--- title: Color Scheme description: "Yamada UI provides features to create and use color contexts according to the color scheme." --- ## Overview Color scheme generates color contexts for components based on values. This improves color consistency. When a value is set to the color scheme, the following properties are generated. These values are set in the [semantic tokens](https://yamada-ui.com/docs/theming/tokens/colors.md#semantic-tokens) of the [theme](https://yamada-ui.com/docs/theming.md). - `colorScheme.solid`: The solid color used for background etc. - `colorScheme.bg`: The faint color used for background etc. - `colorScheme.ghost`: The faint color used for background etc. - `colorScheme.fg`: The color used for text etc. - `colorScheme.outline`: The color used for border etc. - `colorScheme.contrast`: The text color used for `colorScheme.solid`. - `colorScheme.subtle`: The color with higher contrast than `colorScheme.bg`. - `colorScheme.muted`: The color with higher contrast than `colorScheme.subtle`. - `colorScheme.emphasized`: The color with higher contrast than `colorScheme.muted`. Also, [tone colors](https://yamada-ui.com/docs/theming/tokens/colors.md#tokens) from `colorScheme.50` to `colorScheme.950` are generated. :::note In Yamada UI, the `colorScheme` is set to `"mono"` for the `body` in the [global styles](https://yamada-ui.com/docs/styling/global-styles.md). If you want to change the `colorScheme` for the entire application, please refer to [customization](https://yamada-ui.com/docs/theming/styles/global-styles.md#customize). ::: ## 使い方 ```tsx Solid Subtle ``` Color scheme inherits the color scheme of the parent element. ```tsx Provided by Parent Child ```