+ 2

How to make colorful text in HTMl?

26th Oct 2024, 6:22 PM
Max Verstappen
Max Verstappen - avatar
6 Answers
+ 1
<p style="color: #FF0000;">This text is red.</p> <p style="color: #0000FF;">This text is blue.</p> <p style="color: #00FF00;">This text is green.</p>
2nd Nov 2024, 5:24 AM
3legsbird {Dark Web Crow}
3legsbird {Dark Web Crow} - avatar
+ 2
https://sololearn.com/compiler-playground/WXVhdVckZ67K/?ref=app
27th Oct 2024, 8:19 AM
✧Bhavik✧[MORE THAN LESS ACTIVE]
✧Bhavik✧[MORE THAN LESS ACTIVE] - avatar
+ 1
thanksđŸ™đŸ»đŸ‘đŸ»
26th Oct 2024, 7:36 PM
Max Verstappen
Max Verstappen - avatar
+ 1
If you wanna create a gradient within the text (e.g. a rainbow text) you can use the webkit linear gradient whose workings can be seen in this: https://sololearn.com/compiler-playground/WarjqtW4Pg4U/?ref=app
27th Oct 2024, 3:14 PM
Turk BKB
Turk BKB - avatar
+ 1
Change it with css ex: <p style=“color:blue”> blue paragraph</p>
28th Oct 2024, 6:06 PM
Yassmine Riabi