# Color Property Sets the color of a component. Uses predefined theme colors or accepts custom values in hex, rgb, or raw rgb formats. ```jsx featured Primary ``` [View Source](https://github.com/LocusInc/locus-ui/tree/main/packages/locus-ui/src/props/color.prop.ts) ## Examples ### Theme Colors The `color` prop accepts semantic theme values: `primary`, `secondary`, `tertiary`, `success`, `warning`, `danger`, and `info`. ```jsx {[ "primary", "secondary", "tertiary", "success", "warning", "danger", "info", ].map((color) => ( {color} ))} ``` ### Palette Colors Additional named palette colors are available: `red`, `orange`, `yellow`, `green`, `blue`, `purple`, `gray`, `maroon`, `cyan`, `navy`, `teal`, `lime`, `magenta`, and `white`. ```jsx {[ "red", "orange", "yellow", "green", "blue", "purple", "gray", "maroon", "cyan", "navy", "teal", "lime", "magenta", "white", ].map((color) => ( {color} ))} ``` ### Custom Colors The `color` prop also accepts custom values in hex, `rgb()`, or raw RGB formats. ```jsx Hex RGB Raw RGB ```