Help using RGB to mix colors

I’m new here and am enjoying learning to code. But I’ve got a question. I’ve been trying to get this code to work for a while now and don’t see what I am doing wrong.

<style>
  .red-text {
    color: rgb(255, 0, 0)
  }
  .orchid-text {
    color: rgb(218, 112, 214)
  }
  .sienna-text {
    color: rgb(160, 82, 45)
  }
  .blue-text {
    color: rgb(0, 0, 255)
  }
</style>

<h1 class="red-text">I am red!</h1>

<h1 class="orchid-text">I am orchid!</h1>

<h1 class="sienna-text">I am sienna!</h1>

<h1 class="blue-text">I am blue!</h1>

The error says that I need to use RGB for each color. However, in the phone screen to the right the text is displaying in the proper color. What am I doing wrong here? It is probably very obvious, but the hint didn not help. Thanks in advance.

I think there is no problem I have just tried it you can have a look
try putting the Semi colons

Ok thank you. I appreciate it.