Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

34. CSS - Color References

Lesson 34 of 34 in the free CSS Customization: Zero to Hero notes on Siksha Sarovar, written by Rohit Jangra.

CSS Color Reference

A quick reference for standard CSS color names and values.

Standard Color Names (140 names)

Modern browsers support 140 standard color names.

  • Red Colors: DarkRed, Red, Crimson, Tomato, Coral.
  • Pink Colors: MediumVioletRed, DeepPink, HotPink, Pink.
  • Orange Colors: OrangeRed, DarkOrange, Orange, Gold.
  • Yellow Colors: Yellow, LightYellow, LemonChiffon.
  • Green Colors: DarkGreen, Green, Lime, Chartreuse.
  • Blue Colors: MidnightBlue, Navy, Blue, RoyalBlue, SkyBlue.
  • Purple Colors: Indigo, Purple, DarkMagenta, Violet.
  • Brown Colors: Maroon, Brown, Sienna, Chocolate.
  • Gray Colors: Black, DimGray, Gray, Silver, White.

"Transparent" Keyword

The transparent keyword can be used as a color value. It is equivalent to rgba(0,0,0,0).

"CurrentColor" Keyword

The currentColor keyword refers to the value of the color property of the element.

div {
  color: blue;
  border: 2px solid currentColor; /* Border will be blue */
}