Skip to main content
DevForge Academy
Book a Consult
HTMLCSSJAVASCRIPTSQLPYTHONJAVAPHPREACTTYPESCRIPTNODE.JSCC++C#BOOTSTRAPJQUERYGORUSTMONGODBPOSTGRESQLREDISCASSANDRADYNAMODBCOUCHBASECOUCHDBFERRETDBGITDSAAI FUNDAMENTALSPROMPT ENGINEERINGCLAUDE APIOPENAI APIGEMINI APIRAG PIPELINESLANGCHAIN
HomeReferencesCSS
colorbackground-colordisplayflexboxgridpositionmarginpaddingtransitionborder-radius

color

Sets the foreground color of text and text decorations.

Syntax

css
color: value;

Example

css
p { color: #6C5CE7; }
h1 { color: rgba(240, 240, 245, 0.9); }
DevForge Academy

Learn to implement beyond the basics of conceptualization, design and code. Learn to Build with AI. Ship Faster..

Get weekly insights

Top Tutorials

  • HTML Tutorial
  • CSS Tutorial
  • JavaScript Tutorial
  • Python Tutorial
  • SQL Tutorial
  • React Tutorial
  • Java Tutorial
  • AI Development

References & Exercises

  • HTML Reference
  • CSS Reference
  • JavaScript Reference
  • Python Reference
  • SQL Reference
  • Exercises
  • HTML Exercises
  • CSS Exercises
  • JavaScript Exercises
  • Python Exercises

Services

  • Expert Consultation
  • Book a Session
  • Terms & Agreement

Resources

  • How To
  • Color Picker
  • Playground
  • Blog

Company

  • About
  • Contact
  • Disclaimers
  • Privacy Policy
  • Terms of Service

© 2026 SQUEIL. All rights reserved. DevForge Academy is a product of SQUEIL (DBA of On Top Home Services LLC). DevForge Academy is an independent educational platform. All third-party product names, logos, and trademarks mentioned on this site are the property of their respective owners and are used here solely for educational and informational purposes. DevForge Academy is not affiliated with, endorsed by, or sponsored by any of the companies whose products are referenced in our tutorials.

DisclaimersTerms of UsePrivacy PolicyAbout