Problem from noob - changing background color

Hey guys, i’ve been trying to change the background color of my github html file for 2 days now but I just can’t figure it out. 

<html>
<body>
<body bgcolor = “LightSkyBlue”>
<h1 align=“center”>My name is Hanny 224. Welcome to my site!</h1>
<p align=“center”>
<img width=“460” height=“300” src=“Hehexd”>
</p>
<br>

<h2><b>About Me</b></h2>
<p> I like to swim and listen to music. My favorite food is pizza.</p>
<h2>My favorite website</h2>
<a href=“https://www.romphim.com/”>Click here to go to my favorite site!</a>
</body>
</html>

My code looks along the lines of this. It seems like it worked for most other people after using the body bgcolor, but i have no idea why it isn’t working for me. Can anyone help me out? Thank you so much

Hi @hanny224,

Welcome to the Github Community Forum!

Did you tried using the hexadecimal value?

Change the value of bgcolor with this #2432BE

<html>
<body>
<body bgcolor = **#2432BE** >
<h1 align="center">My name is Hanny 224. Welcome to my site!</h1>
<p align="center">
<img width="460" height="300" src="Hehexd">
</p>



<h2><b>About Me</b></h2>
<p> I like to swim and listen to music. My favorite food is pizza.</p>
<h2>My favorite website</h2>
<a href="https://www.romphim.com/">Click here to go to my favorite site!</a>
</body>
</html>

If you want a different type of blue you can use this tool mycolor.space, and find the hexadecimal value of the color you want!

Hope to solve your problem :slight_smile:

-Gabriele-

Mark helpfull posts with Accept as Solution to help other users locate important info. Don’t forget to give Kudos for great contents!