CSS Tutorial - Colors

Unlock Premium Features: AI explanations (Hinglish), Indian voice & Videos
Sign Up Free

๐ŸŒˆ Colors - Rang Bharo

๐ŸŒŸ Colors Everywhere:

๐ŸŽจ Text color
๐Ÿ“„ Background color
๐Ÿ”ฒ Border color

๐ŸŽฏ Color Formats

FormatExampleUse
Namered, blueSimple colors
Hex#FF0000Most common
RGBrgb(255,0,0)Red, Green, Blue
RGBArgba(255,0,0,0.5)With transparency

๐Ÿ“ Common Properties

color: red;           /* Text color */
background-color: blue;  /* Background */
border-color: green;     /* Border */

๐Ÿ’ก Pro Tip:

Google "color picker" for color codes!

๐Ÿค– AI Tutor Unlock Karo!

Apni language mein coding seekho - Hindi, Marathi, Gujarati aur 10+ Indian languages mein!

  • Hinglish mein explanations
  • Real-life examples
  • Beginner-friendly
Free Signup Karo

Example

h1 { color: #FF6B6B; }
p { background-color: yellow; }