HTML Colors

HTML Colors Property – HTML Colors In Hindi

HTML

HTML Colors Property HTML Colors In Hindi:- Ham Is Post Mai Learn Karne Wale Hai Ki HTML Colors And Types Of HTML Colors And “Why We Use HTML Colors” |

Yadi Aapne  CSS Full Course Nhi Read Kiya Hai To Aap Vah Bhi Read Kar Sakte Hai | Kyoki Usme Milenge Aapko CSS Full Course A to Z |

HTML Colors In Hindi

Website Main Colors Ka Hona Bahut Hi Jaruri Hai Kyoki Isse Webpage Main Sunderta Yani Attractive Lagta Hai | Colors Ke Bina Webpage Attractive Nhi Lagta Hai Yani Ki Aap Aesa Maan Sakte Ho Ki Colors Ke Bina Website Ki Kalpna Bhi Nhi Ki Ja Sakti hai Isliye Colors Ka Istemal All Website Main Kiya Jata Hai |

HTML Mai Color Declare Karne Ke Liye Color Property Ka Istemal Kiya Jata Hai. HTML Mai Aap Foreground ( fg ) Or Background (bg) Dono Ke LIye Color Declare Kar Sakte Hai |

  • Foreground:- Means Font Color, Border Color, Outlines, Text Color |
css color

Common HTML Colors Code In Hindi

HTML Main Waise To Bahut Color Hai Lekin Ham Kuch Common Color Ka Istemal Karne Wale Hai Jo Jyada Istemal Hote Hai |

<!DOCTYPE html>

<html>

<head>
<title> HTML COLORS</title>
</head>
 <body>
      <h1 style="background-color:white;">WHITE</h1>
      <h1 style="background-color:silver;">SILVER</h1>
      <h1 style="background-color:gray;">GRAY</h1>
      <h1 style="background-color:black;">BLACK</h1>
      <h1 style="background-color:red;">RED</h1>
      <h1 style="background-color:maroon;">MAROON</h1>
      <h1 style="background-color:yellow;">YELLOW</h1>
      <h1 style="background-color:olive;">OLIVE</h1>
      <h1 style="background-color:liMe;">LIME</h1>
      <h1 style="background-color:green;">GREEN</h1>
      <h1 style="background-color:aqua;">AQUA</h1>
      <h1 style="background-color:teal;">TEAL</h1>
      <h1 style="background-color:blue;">BLUE</h1>
      <h1 style="background-color:navy;">NAVY</h1>
      <h1 style="background-color:fuchsia;">FACHSIA</h1>
      <h1 style="background-color:purple;">PURPLE</h1>

 </body>
</html>

Upper Diye Code Ko Run Karke Iska Output Check Kar Sakte Hai |

Types Of HTML Color Property

Color Declare Karne Ke Bahut Se Tarike Hai HTML Main. Lekin Sabhi Tarike Sabhi Browsers Support Nhi Karte Hai Isliye Ham Yaha 3 types of add HTML color Property ke Bare Mai Bata Rahe Hai |

3 Types Of Add HTML Color Property

  1. Hex Value
  2. RGB Value
  3. Color Name

1. Hex Value

Hex Ka Matlab Hota Hai Hexadecimal. HexaDecimal Code 6 number ka code Hota hai. Jisme Red, Green, Blue color ki Hex Value Hoti Hai | HEX Value Mai Pahle 2 Number Red Ke Liye Or Bich Ke 2 Number Green Or Last Ke 2 Number Blue Ke Represent Karne ke Liye Hote Hai |

Example:

<style>
p {
color: #000000;
}
</style>
<p>This Is Hex Value Color</p>

Upper Diye Code Ko Run Karke Iska Output Check Kar Sakte Hai |

2. RGB Value

RGB 3 Words se Bana Hai. Jisme R Ka Matlab Red, G Ka Matlab Green Or B ka Matlab Blue Hota Hai | RGB Duvara 0 se 255 ke Bich Mai Kisi Color Ki Intensity Show Ki Jati Hai. Aap Jitni Jyada Value Kisi Color Ki Declare Karenge Vah Color Utna Hi Jayada Dikhai Dega |

Example:

<style>
p {
color: rgb(255,0,0);
}
</style>
<p>This Is RGB Value Color</p>

Upper Diye Code Ko Run Karke Iska Output Check Kar Sakte Hai |

3. Color Value

Aap Color Value Ko Color Name Se Bhi Declare Kar Sakte Hai |

Example:

<style>
p {
color: red;
}
</style>
<p>This Is Color Value </p>

Upper Diye Code Ko Run Karke Iska Output Check Kar Sakte Hai |

HTML Background Colors in Hindi

Aap Style Attribute Duvara Website Ka Background Color Change Kar Sakte Hai or Background Ka Default Color WHITE Hota Hai |

Example:

<h1 style="background-color:DodgerBlue;">Hello World</h1>
<p style="background-color:Tomato;">Hii Guys...</p>

Upper Diye Code Ko Run Karke Iska Output Check Kar Sakte Hai |

CSS Text Colors in Hindi

Aap Text Color Ko Change Kar Sakte Hai Or Text Ka Default Color Black Hota Hai |

<p style="color":red;>Color Red Ho Gaya</p>

Upper Diye Code Ko Run Karke Iska Output Check Kar Sakte Hai |

Border Colors In Hindi

Aap Iske Duvara Border Colors Bhi Change Kar Sake Hai Or Border Bhi Laga Sakte Hai | Aap Style Attribute Ke Duvara Border Ke Color Ko Define Kar Sakte Hai. CSS Mai Border Ko Define border-style se Kiya Jata hai and border ki value Alag-Alag ho Sakti Hai Jaise Ki Solid, Dotted, Dashed Or Double | Or Ham Border Ki Width Ko Bhi Set Kar Sakte Hai | yah Maximum time Pixels Mai Hoti Hai|

<h1 style="border:2px solid Tomato;">Hello World</h1>
<h1 style="border:2px dotted DodgerBlue;">Hello World</h1>
<h1 style="border:2px dashed Violet;">Hello World</h1>
<h1 style="border:2px double green;">Hello World</h1>

Upper Diye Code Ko Run Karke Iska Output Check Kar Sakte Hai |

Ab Aap Jan Hi Gaye Honge Ki HTML Colors In Hindi – Common HTML colors code In HindiHTML Color Property , Types Of HTML Color Property in Hindi, Background Colors in Hindi, Text Colors in Hindi,Border Colors In Hindi Kon Kon Se Hai |

Leave a Reply

Your email address will not be published. Required fields are marked *