HTML colors can be either word or hex based. You can use regular color names for several of the main html colors. For example: Black, Red, Yellow, Green, White, Orange, Purple, etc.
For more html color variety you can use hexidecimal codes for the corresponding colors. Some examples include #000000 for black, #FFFFFF for white, #C8C8C8 for a light grey, etc.
There are several html color tools available which will give you the correct hex html color code.