HTML learning (16) Color

HTML colors by mixing red, green, blue made.

Color values

HTML color is defined by a hexadecimal notation, the symbol of the red, green and blue values ​​of the composition (RGB).

The minimum value of each color is 0 (hex: # 00). The maximum value is 255 (hex: #FF).

Black: # 000000, rgb (0,0,0)

White: # FFFFFF, rgb (255,255,255)

NOTE: Decimal Hex turn 2AF3 --- 2 * 16 ^ 3 + 10 * 16 ^ 2 + 15 * 16 + 3 * 16 ^ 0

HTML color name : https://www.runoob.com/html/html-colornames.html

 

Guess you like

Origin www.cnblogs.com/1016391912pm/p/11531243.html