{{color|name of color or hex code of color|Text}}

For example:

{{color|red|Hello, world!}} results in Hello, world!
{{color|#00F000|Hello, world!}} results in Hello, world!

See w:Web colors#HTML color names for a list of colors.

There are individual templates for the most common colors and Web colors. Don't create more without a compelling reason:

The color template can be used to add a span of text with any given text color

साँचे के पैरामीटर्स

पैरामीटरविवरणप्रकारस्थिति
Color name or code1 color

Name of color or hex code of color

स्ट्रिंगआवश्यक
Alpha-numeric text2 text

The string of text to be formatted in the desired color

स्ट्रिंगआवश्यक