Color Names

HTML supports predefined color names:

<p style="color: blue;">This text is blue.</p>

HEX Values

Colors can be specified using HEX values, starting with a # followed by 6 digits (representing the RGB values):

<p style="color: #ff0000;">This text is red.</p>

RGB and RGBA Values

RGB values specify the intensity of red, green, and blue on a scale of 0 to 255. RGBA includes an alpha value for transparency:

<p style="color: rgb(0, 255, 0);">This text is green.</p>
<p style="color: rgba(255, 0, 0, 0.5);">This text is red with 50% transparency.</p>

HSL and HSLA Values

HSL values are used to define colors using hue, saturation, and lightness. HSLA includes an alpha value for transparency:

<p style="color: hsl(120, 100%, 50%);">This text is a shade of green.</p>
<p style="color: hsla(120, 100%, 50%, 0.3);">This text is a shade of green with 30% transparency.</p>

Colors 1-10

1. Red: #FF0000
2. Green: #00FF00
3. Blue: #0000FF
4. Yellow: #FFFF00
5. Cyan: #00FFFF
6. Magenta: #FF00FF
7. Black: #000000
8. White: #FFFFFF
9. Gray: #808080
10. Navy: #000080

Colors 11-20

11. Purple: #800080
12. Teal: #008080
13. Lime: #00FF00
14. Olive: #808000
15. Maroon: #800000
16. Aqua: #00FFFF
17. Silver: #C0C0C0
18. Fuchsia: #FF00FF
19. Orange: #FFA500
20. Brown: #A52A2A

Colors 21-30

21. Gold: #FFD700
22. Beige: #F5F5DC
23. Pink: #FFC0CB
24. Coral: #FF7F50
25. Violet: #8A2BE2
26. Wheat: #F5DEB3
27. Ivory: #FFFFF0
28. Tomato: #FF6347
29. Chocolate: #D2691E
30. Lavender: #E6E6FA

Colors 31-40

31. Mint: #3EB489
32. Lime Green: #32CD32
33. Indigo: #4B0082
34. Slate Gray: #708090
35. Olive Drab: #6B8E23
36. Peach: #FFDAB9
37. Peru: #CD853F
38. Sand: #C2B280
39. Chocolate: #D2691E
40. Crimson: #DC143C

Colors 41-50

41. Orchid: #DA70D6
42. Salmon: #FA8072
43. Sea Green: #2E8B57
44. Sienna: #A0522D
45. Sky Blue: #87CEEB
46. Slate Blue: #6A5ACD
47. Spring Green: #00FF7F
48. Steel Blue: #4682B4
49. Tan: #D2B48C
50. Thistle: #D8BFD8

Colors 51-60

51. Slate: #708090
52. DarkRed: #8B0000
53. OliveDrab: #6B8E23
54. SlateBlue: #6A5ACD
55. DimGray: #696969
56. MediumSeaGreen: #3CB371
57. RoyalBlue: #4169E1
58. IndianRed: #CD5C5C
59. AquaMarine: #7FFFD4
60. DarkSlateGray: #2F4F4F

Colors 61-70

61. LightSalmon: #FFA07A
62. DarkOrange: #FF8C00
63. LightPink: #FFB6C1
64. PeachPuff: #FFDAB9
65. Gold: #FFD700
66. NavajoWhite: #FFDEAD
67. Bisque: #FFE4C4
68. BlanchedAlmond: #FFEBCD
69. PapayaWhip: #FFEFD5
70. LavenderBlush: #FFF0F5

Colors 71-80

71. SeaShell: #FFF5EE
72. Cornsilk: #FFF8DC
73. LemonChiffon: #FFFACD
74. FloralWhite: #FFFAF0
75. Snow: #FFFAFA
76. YellowGreen: #9ACD32
77. LightBlue: #ADD8E6
78. PaleTurquoise: #AFEEEE
79. LightSteelBlue: #B0C4DE
80. PowderBlue: #B0E0E6

Colors 81-90

81. FireBrick: #B22222
82. DarkGoldenRod: #B8860B
83. MediumOrchid: #BA55D3
84. RosyBrown: #BC8F8F
85. DarkKhaki: #BDB76B
86. Silver: #C0C0C0
87. MediumVioletRed: #C71585
88. IndianRed : #CD5C5C
89. Peru: #CD853F
90. Chocolate: #D2691E

Colors 91-100

91. Tan: #D2B48C
92. LightGray: #D3D3D3
93. Thistle: #D8BFD8
94. Orchid: #DA70D6
95. GoldenRod: #DAA520
96. PaleVioletRed: #DB7093
97. Crimson: #DC143C
98. Gainsboro: #DCDCDC
99. Plum: #DDA0DD
100. BurlyWood: #DEB887