Basic HTML Color Chart

 

Color Name Hex Code RGB HSB Color
black #000000 0-0-0 0-0-0  
gray #808080 128-128-128 0-0-50  
silver #C0C0C0 192-192-192 0-0-75  
white #FFFFFF 255-255-255 0-0-100  
magenta #FF00FF 255-0-255 300-100-100  
purple #800080 128-0-128 300-100-50  
navy #000080 0-0-128 240-100-50  
blue #0000FF 0-0-255 240-100-100  
cyan #00FFFF 0-255-255 180-100-100  
teal #008080 0-128-128 180-100-50  
green #008000 0-128-0 120-100-50  
lime #00FF00 0-255-0 120-100-100  
yellow #FFFF00 255-255-0 60-100-100  
olive #808000 128-128-0 60-100-50  
maroon #800000 128-0-0 0-100-50  
red #FF0000 255-0-0 0-100-100  
 

HTML Colors and the Color Wheel

         
         
         
         
         

The same colors as in the table at left, shown in their relationship to each other in the color wheel. The only color not represented in the wheel is silver, which has a different mathematical relationship than the other basic colors (see the RGB numbers for silver to understand why).