Hexadecimal notation takes two forms: #rrggbb and #rgb. KeywordĪs you can tell from the table above, colors can also be represented using hexadecimal notation. The following table lists the color keywords, their 3-digit and 6-digit hexadecimal representations, RGB decimal notation, RGB percent notation, and an example of the color.
For CSS2, there are 16 color keywords: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.
To begin with, keyword color names can be used. For Example: has a long list of color codes and also provides a tool to generate color codes by simply picking any color. There are many online tools & websites available that provide a list of colors as well. Unless you have a talent for visualizing hex color codes, it can be hard to determine which colors belong to which. In a typical CSS file, color codes are scattered throughout the page, and the same colors are used in multiple places. HTML is the foundation of webpages, is used for webpage development by structuring websites and web apps.You can learn HTML from the ground up by following this HTML Tutorial and HTML Examples.Colors can be represented in several ways is CSS W. You can combine different color values & create various color shades. Separate presentation and content by referring to colors using abstract names such as base and highlight.
#Different css color codes full#
The white color is a mixture of the three primary colors at full intensity representing the Hex color code #FFFFFF.