How to change HEX to RGB?


i replaced the normal ({color #2e69a3) with the rgb rgb(46,105,163)

when i tried to run it, it said "Did you change the h1 color to an rgb color value?"

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

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

h2 {
	font-size: 32px;

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

p {


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


try adding a space after color:

so would be: color: rgb(46,105,163);


This topic was automatically closed after 7 days. New replies are no longer allowed.