CCS color problem in Making a website


#1

CSS color

Well, I added in the rgb value instead of the previous HEX value. After that I pressed Run and it said “Did you change the h1 color to an rgb color value?” I had, but it didnt work.



body {
	height: 100%;
	margin: 0;
	text-align: center;
	width: 100%;
}

h1 { 
  font-family: Palatino, 'Palatino Linotype',
  serif; 
  color:rgb(46,105,163)
	font-size: 32px;
}

h2 {
	font-size: 32px;
}


.hero {
	padding: 250px 0;
	margin: 30px;
}


p {

}

.hero a {
	color: #00FFAA;
	font-size: 24px;
	text-decoration: none;
}





#2

rgb() is not a hex value:


#3

What do I do then to add in my RGB?


#4

you should use:

hex value

not use:

rgb
green color keyword


#5

Thanks. I actually forgot the ;


#6