CSS named colors such as red, blue, teal and rebeccapurple are convenient when an exact custom shade is not required.
This text changes color.
<p style="color:teal">Named CSS color</p>
For brand or design-system colors, hexadecimal, RGB, HSL or custom properties are usually easier to control consistently.
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.