|
Home » CSS Properties » color colorThe color property allows you to set the foreground color for an item. You can use either a color name (red, black, green), a rgb code (rgb(255,255,255)), or a hex number (#ffffff). The 3 following examples will all cause text within the paragraph to be red. Notice that all 3 use different techniques to define red. p { p { p { |
