https://www.freecodecamp.org/learn/responsive-web-design/basic-css/use-rgb-to-mix-colors
Just like with hex code, you can mix colors in RGB by using combinations of different values.
Replace the hex codes in our style element with their correct RGB values.
ColorRGB
<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>
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.