What is Hex colour code?
A hex colour is a six-digit code like #b11226 that stores the red, green and blue amounts of a colour.
The first two digits are red, the next two green and the last two blue, each from 00 (none) to ff (full). #000000 is black and #ffffff is white. Three-digit forms like #fff are shorthand.
The same colour can be written as rgb(177, 18, 38) or in HSL, which is easier for adjusting lightness.