How do I put background color on my text?

Add or change the background color

  1. Go to Design > Page Color.
  2. Choose the color you want under Theme Colors or Standard Colors. If you don’t see the color you want, select More Colors, and then choose a color from the Colors box.

What is the HTML code for color?

#0000FF – This HTML color code shows just blue and no red and green. #FFFF00 – This HTML color code is a mixture of red and green colors defined as yellow….HTML Hex Color Codes.

COLOR NAME HEX COLOR CODE RGB COLOR CODE
AQUA #00FFFF RGB(0, 255, 255)
TEAL #008080 RGB(0, 128, 128)
NAVY #000080 RGB(0, 0, 128)
FUCHSIA #FF00FF RGB(255, 0, 255)

What is the code for background color in HTML?

HTML | bgcolor Attribute The HTML bgcolor Attribute is used to define a Background color of a Document. Attribute Values: color_name: It specify the name of the Background color of the Document.

What is background color and text color in HTML?

HTML Color: Text or Background As the name suggests, the first one is used to change the color of the background. By using the simple color property, you will change the color of the text. Both HTML background color and color properties can take values defined in names, RGB, RGBA, HEX, HSL or HSLA values.

How do you set background color in HTML?

Setting a Solid Background Color Find your document’s “html” header. Add the “background-color” property to the “body” element. Add your desired background color to the “background-color” property. Review your “style” information. Use “background-color” to apply background colors to other elements.

How to add color as background in HTML?

How to Set Background Color in HTML Method 1 of 4: Preparing to Edit Your HTML. Determine the background color you want to use. Method 2 of 4: Setting a Solid Background Color. Find your document’s “html” header. Method 3 of 4: Creating a Gradient Background. Find your document’s “html” header. Method 4 of 4: Creating a Changing Background. Find your document’s “html” header.

What is the correct html for adding a background color?

is the correct HTML for adding a background color.

How do you add background color to text?

To add a background color to your document, switch over to the “Design” tab on Word’s Ribbon, and then click the “Page Color” button. This opens a dropdown menu with a selection of colors, including Theme Colors and Standard Colors. Click a color to apply it to the background.