Why do colors in CSS/HTML start with #

43 views Asked by At

I wonder why the format #FFFFFF was chosen? Why # is important and what it means?

I've searched some popular websites but they mostly deal with explaining how to parse a value to red, green and blue and none is explaining from where # came.

1

There are 1 answers

0
devcoderrajarshi On

it helps the HTML parser to identify that it is a hexadecimal value not an ordinary string