---json { "description": "Color management in ComboStrap", "page_id": "3nkx84kkwic12xxffjl5h", "title": "Color - How to specify a Color Value on ComboStrap Component" } --- ====== ComboStrap Styling - Color ====== ===== About ===== Every [[docs:component|ComboStrap UI component]] can be colorized with one of the following color attributes * [[text-color|text-color]] : The color of the text * [[background#color|background-color]] : The color of the [[background|background]] * [[border#color|border-color]] : The color of the [[border|border]] This page describes which [[#value|color value]], they can take. ===== Example ===== * A [[docs:block:card|card]] with: * a ''black'' [[text-color|(text) color]] * a ''teal'' [[docs:styling:background#color|background color]] * a ''blue'' [[docs:styling:border#color|border color]] A teal [[docs:block:card|card]] with a black text and a blue border * Output: ===== Value ===== ''ComboStrap'' supports the following color value: * [[#name]] * [[#rgb|RGB]] * [[#reset]] (to take the color of the parent) == Color Generator == Generating or choosing attractive color is not easy. The [[color_generator|color generator page]] may help you in this task. ==== Name ==== [[:start|ComboStrap]] follows the [[https://getbootstrap.com/docs/4.0/utilities/colors/|Bootstrap color naming]] and you may then use the following color names. You can set the [[:docs:theme:branding-colors|branding colors]] ''primary'' and ''secondary'' in the configuration. The default Bootstrap colors are: {{docs:block:bootstrap_default_color.png|}} You can also use a [[https://drafts.csswg.org/css-color/#color-keywords|CSS Color name]]. ==== Rgb ==== ''rbg'' (or red blue green) is the standard web value that is composed of an hexadecimal value. Example with the [[docs:block:text|text component]] Text color with a hexadecimal value of ''#6c757d'' * Output ==== Reset ==== The ''reset'' color applied on a [[docs:content:link|link]] will take the color of the [[docs:block:text|text]] and we [[docs:styling:underline|underline it]] to make it visible. * Input Colored text with a [[?color=reset&underline|reset link]] * Output