Blue Color Codes The above examples use blue as the color value. At worst, they still serve as reasonable approximations of the actual values. In this example, I've placed text inside a tag, set its background color to blue, and set its text color to white. I have a blue border. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
You can use these default colors and reasonably expect them to work. Examples might be simplified to improve reading and basic understanding. This can be useful if you need to ensure your color combinations are accessible to color-blind users. You can have blue text, a blue background, or a blue border around an element. In this example, 000304 is the darkest color, while f1f9fd is the lightest one. Color Name Color Code Color Name Color Code Red White Cyan Silver Blue Gray or Grey DarkBlue Black LightBlue Orange Purple Brown Yellow Maroon Lime Green Magenta Olive Color code chart Tip Use our if you need to choose from an almost infinite variety of colors. It has a hue angle of 194.
In this example, 020708 is the darkest color, while f8fcfd is the lightest one. This color's complement is , which is the opposite on the color wheel. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice. Source Code Result White text, blue background. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.
I'd like to override that and just get the browser's default colors or the user's personal stylesheet , but instead I'll have to hard-code specific colors. This color could be named as Blue. In this case, 767689 is the less saturated color, while 0000ff is the most saturated one. In this example, 000014 is the darkest color, while ffffff is the lightest one. I'm not sure why 66 people just took this answer's word for it.
Either of these options will take precedence over a browser's defaults, regardless of browser. The question can be interpreted as relating both the actual browser practice and to recommendations. Web safe color of 0000ff is. Therefore, this color can be considered to be dark, and have cool color temperature. The hue is at 240 degrees, with a saturation value at 100 percent and a lightness value of 50 percent. The problem is that sometimes the styling comes from a library. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
But keep in mind that a browser is free to ignore any or all of these guidelines, as it is never required to follow them. Text Shadow with Hex Values Text here This text has shadow with hex values. Source Code Result Blue text Blue text Here's the same thing, but this time using. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice. It has a hue angle of 199. Colors that look similar, to the 0000ff color, may be found within the. Blue Text This example uses to set the text color to blue i.
In this case, bcbdbd is the less saturated color, while 7fd3fa is the most saturated one. . If in doubt, you can always use the about:blank technique I described before to sniff out the default colors, as it remains applicable today. With these colors, you can also use the color name. Even if the values did come from a standard, for which this answer provides no sources whatsoever, that standard would have long been obsolete anyway as this answer implies, and using it in new code would be meaningless. Div Box Shadow Div content here. While using this site, you agree to have read and accepted our ,.
These color codes can be used to change the color of the background, text, and tables on a web page. 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. It has a hue angle of 240 degrees, a saturation of 100% and a lightness of 50%. W3Schools is optimized for learning, testing, and training. In this case, c6cbcd is the less saturated color, while 94e5ff is the most saturated one. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice. This hex color code is also a web safe color which is equal to 00F.