๐ In CSS, a color can be specified by using a predefined color name.
๐ CSS/HTML supportย 140 standard color name . some are๐
Example๐
An RGB color value represents RED, GREEN, and BLUE light sources.
some of them are given below๐
2. CSSย RGB Colors
Example๐
3. CSSย HEX Colors
A hexadecimal color is specified with `#RRGGBB`, where the RR (red), GG (green), and BB (blue) hexadecimal integers identify the components of the color.
some of them are given below๐
Example๐
4. CSSย HSL Colors
๐ HSL stands for hue, saturation, and lightness.
Example๐
5. RGBA Color Value
๐ RGBA color values are an extension of RGB color values with an alpha channel - `which specifies the opacity for a color.`
6. HSLA Value
๐ HSLA color values are an extension of HSL color values with an alpha channel - which specifies the opacity for a color.
Example -
If you enjoyed reading this thread, please do the following: 1. Like the threadโค๏ธ 2. Retweet the first tweet.๐ 3. Follow me and enable notifications: โ @CodeMarch
[0] is the first element.
[1] is the second element.
[2] is the third element.
๐๐ต๐ฎ๐ป๐ด๐ถ๐ป๐ด ๐ฎ๐ป ๐๐ฟ๐ฟ๐ฎ๐ ๐๐น๐ฒ๐บ๐ฒ๐ป๐.
we can change the value of the elements in an array.
๐๐ ๐ฎ๐บ๐ฝ๐น๐ฒ: