CSS color code
Color is the most important consideration when designing or styling something. Especially when we go to design mobile apps or web pages, we need color codes to style the colors.
We have given the HEX color codes here. Because these codes are very popular and widely used.
What is the HEX method?
The hexadecimal numbers are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F. This is the hexadecimal system with a total of 16 characters. Minimum value in hexadecimal system is 0 and maximum value is F. Minimum value in hexadecimal system is 00 which is 0 in RGB system and maximum value is FF which is 255 in RGB system.
A hexadecimal value starts with a hash " # " sign and then 3 pairs of 6 hexadecimal numbers are written. The first hexadecimal number pair specifies the red color, the second hexadecimal number pair specifies the green color, and the third hexadecimal number pair specifies the blue color. The code will look like below :
#ff0000
#0000ff
#3cb371
#ee82ee
#ffa500
#6a5acd
#000000
#787878
HTML Color Code
HTML color codes are hexadecimal triplets representing the colors red, green, and blue (#RRGGBB). For example, in red, the color code is #FF0000, which is '255' red, '0' green and '0' blue. There are 16,777,216 possible HTML color codes, and all are visible on a 24-bit display.