Skip to content

Commit a7e66bf

Browse files
authored
Merge pull request #34 from narendra-dhangar/patch-5
Update color-names.md
2 parents 476e263 + 93bb53c commit a7e66bf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/css/colors/color-names.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ keywords:
1212
css color names list,
1313
]
1414
sidebar_position: 1
15+
hide_table_of_contents: true
1516
---
1617

1718
In CSS, color names are predefined names for colors that can be used to style elements. Color names provide an easy way to specify colors in CSS without having to remember the hexadecimal (hex) or RGB values of the colors. There are 147 color names that are supported by all major browsers, and they can be used to set the color of text, backgrounds, borders, and other CSS properties.
1819

1920
<AdsComponent />
21+
<br />
2022

2123
## Syntax
2224

@@ -63,6 +65,7 @@ In the HTML code below, the CSS rule will set the color of the `<h1>` element to
6365
:::
6466

6567
<AdsComponent />
68+
<br />
6669

6770
### List of Common Color Names
6871

@@ -77,6 +80,7 @@ Here are some common CSS color names:
7780
You can use these color names in your CSS stylesheets to set the color of elements and create visually appealing designs. Color names provide a convenient way to specify colors in CSS and make it easier to work with colors in web development projects.
7881

7982
<AdsComponent />
83+
<br />
8084

8185
### Example: Using Color Names
8286

@@ -128,6 +132,7 @@ In this example, the color names `blue` and `darkred` are used to set the color
128132
Color names are a convenient way to specify colors in CSS and can be used to create visually appealing designs in web development projects.
129133

130134
<AdsComponent />
135+
<br />
131136

132137
:::note Extra Information
133138
**1. How many way to use color in CSS?**
@@ -197,4 +202,4 @@ By using color names in CSS, you can easily set the color of elements in your we
197202

198203
## Conclusion
199204

200-
Color names are predefined names for colors that can be used in CSS to style elements. By using color names, you can specify the color of text, backgrounds, borders, and other CSS properties without having to remember specific color codes. Color names provide a convenient way to work with colors in CSS and make it easier to create visually appealing designs in web development projects.
205+
Color names are predefined names for colors that can be used in CSS to style elements. By using color names, you can specify the color of text, backgrounds, borders, and other CSS properties without having to remember specific color codes. Color names provide a convenient way to work with colors in CSS and make it easier to create visually appealing designs in web development projects.

0 commit comments

Comments
 (0)