Skip to content

Commit c0b37c4

Browse files
Update color-names.md
1 parent 9f8b8dd commit c0b37c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/css/colors/color-names.md

Lines changed: 5 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

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

130133
<AdsComponent />
134+
<br />
131135

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

198202
## Conclusion
199203

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.
204+
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)