Sets the color of a component. Uses predefined theme colors or accepts custom values in hex, rgb, or raw rgb formats.
Examples
Theme Colors
The color prop accepts semantic theme values: primary, secondary, tertiary, success, warning, danger, and info.
Palette Colors
Additional named palette colors are available: red, orange, yellow, green, blue, purple, gray, maroon, cyan, navy, teal, lime, magenta, and white.
Custom Colors
The color prop also accepts custom values in hex, rgb(), or raw RGB formats.