Compare RGB values with Hexadecimal color codes?
Filed under: CSS Interview Questions on 2022-07-02 15:22:29
A color can be specified in two ways:A color is represented by 6 characters i.e. hexadecimal color coding. It is a combination of numbers and letters and is preceded by #. e.g.: g {color: #00cjfi}A mixture of red, green and blue represents a color. The value of a color can also be specified.e.g.: rg