
Here are some different shades of blues & cyans that can be used instead of just plain old "blue". Here are the various methods of specifying the color blue in HTML. I could just as easily used the hexadecimal or RGB color values and the result would've been the same. This color combination was created by user Keshav Naidu.The Hex, RGB and CMYK codes are in the table below. The above examples use blue as the color value. The CSS Family Blue Color Scheme palette has 5 colors which are Tufts Blue (3C99DC), Maya Blue (66D3FA), Water (D5F3FE), Lapis Lazuli (2565AE) and Yale Blue (0F5298). In this example, I've placed text inside a tag, set its background color to blue, and set its text color to white. You can set the background color of an element to blue by using the CSS background-color property or the background shorthand property.
#Css color codes for dark blue code
You could also place the CSS code into a external style sheet. BrushColor FF0000 ) Setting the Red, Green, Blue components (RGB) (e. Here's the same thing, but this time using embedded styles. All types of green colors have a unique name. In this case, I apply the styles against a tag, but I could just have easily applied them against a tag (for all text within that element) or even a tag (for all text on the page). I use the style attribute against the HTML element).

The first two digits(RR) represent a red value, the next two are a green value(GG). This example uses inline styles to set the text color to blue (i.e. A hexadecimal is a 6 digit representation of a color. You can have blue text, a blue background, or a blue border around an element. The third and fourth represents intensity of green and fifth and sixth represents the intensity of blue. 00 is the least and FF is the most intense. This page contains HTML code for coloring an element blue. The first two symbols in HTML color code represents the intensity of red color.
