How many ways to use colors apply on html elements?
We can color HTML elements in three different ways, as mentioned below.
- #efefef or Hex Color
- By using the color name such as blue, red, etc.
- RGB(10,234,128). This is a combination of red, green, and blue.
BY Best Interview Question ON 21 Oct 2019